irf.rmf¶
-
class
ximpol.irf.rmf.
xBinTableHDUEBOUNDS
(data=None, keywords=[], comments=[])[source]¶ Binary table for the MATRIX extension of a rmf file.
-
class
ximpol.irf.rmf.
xBinTableHDUMATRIX
(num_chans, data=None, keywords=[], comments=[])[source]¶ Binary table for the MATRIX extension of a rmf file.
-
class
ximpol.irf.rmf.
xEnergyDispersion
(mrf_file_path)[source]¶ Class representing the energy dispersion.
Parameters: rmf_file_path (str) – The path to the .rmf FITS file containing the energy dispersion tables.
-
class
ximpol.irf.rmf.
xEnergyDispersionBounds
(hdu)[source]¶ Class encapsulating the bounds for the energy dispersion matrix, as stored in the EBOUNDS extension of a .rmf file.
-
class
ximpol.irf.rmf.
xEnergyDispersionMatrix
(hdu, num_aux_points=200)[source]¶ Class encapsulating the energy dispersion matrix, as stored in the MATRIX extension of a .rmf file.
In order to streamline performance, the energy grid is down-sampled to the value of the num_aux_points parameter, in such a way that the xUnivariateAuxGenerator.build_vppf()` doesn’t take forever.
Parameters: - hdu (FITS hdu) – The MATRIX hdu in the .rmf FITS file.
- num_aux_point (int) – The number of points that the energy dispersion matrix should be down-sampled to.
Warning
If the value of num_aux_points is too small, then the two-dimensional underlying spline tends to have blob-like features, and the vertical slices are no longer necessarily accurate representations of the energy dispersion. We should keep an eye on it.