_read_stix_srm_file#

sunkit_spex.fitting_legacy.io._read_stix_srm_file(srm_file)[source]#

Read a STIX SRM spectral fits file and extract useful information from it.

Parameters:

srm_file (str or pathlib.Path) – STIX SRM fits file

Returns:

STIX SRM data (photon bins, count bins, and SRM in units of [counts/keV/photons]).

Return type:

dict