get_xsstate

sherpa.astro.xspec.get_xsstate()[source]

Return the state of the XSPEC module.

Returns:state – The current settings for the XSPEC module, including but not limited to: the abundance and cross-section settings, parameters for the cosmological model, any XSET parameters that have been set, and changes to the paths used by the model library.
Return type:dict