get_xsabundances

sherpa.astro.xspec.get_xsabundances() dict[str, float][source] [edit on github]

Return the abundance settings used by X-Spec.

Added in version 4.17.0.

Returns:

abundances – The current set of abundances. The keys are the element names (e.g. ‘Fe’) and the values are the abundances.

Return type:

dict

Examples

>>> get_xsabundances()
{'H': 1.0, 'He': ...}