darkhistory.spec.spectools¶
Functions useful for processing spectral data.
Functions
|
Discretizes a continuous function. |
|
Fast energy loss rebin. |
|
Returns the bin boundary of an abscissa. |
|
Returns the bin boundary of an abscissa between two energies. |
|
Returns index of bin containing E. |
|
Return the log bin width of the abscissa. |
|
Normalizes the spectrum to per baryon per dlnz, given dE/(dV dt). |
|
Rebins an array of particle number with fixed energy. |
Classes
|
Structure for energy loss rebinning data. |
