_read_stix_spec_file#

sunkit_spex.fitting_legacy.io._read_stix_spec_file(spec_file)[source]#

Read STIX spectral fits file and extracts useful information from it.

Parameters:

spec_file (str, file-like or pathlib.Path) – STIX spectral fits file (see open for details)

Returns:

STIX spectral data.

Return type:

dict