Synopsis
Return the abundance settings used by X-Spec.
Syntax
get_xsabundances()
Description
Example
>>> get_xsabundances() {'H': 1.0, 'He': ...}
PARAMETERS
This function has no parameters
Return value
The return value from this function is:
abundances -- The current set of abundances. The keys are the element names (e.g. 'Fe') and the values are the abundances.
Changes in CIAO
Added in CIAO 4.17
XSPEC version
CIAO 4.17 comes with support for version 12.14.0k of the XSPEC models. This can be checked with the following:
% python -c 'from sherpa.astro import xspec; print(xspec.get_xsversion())' 12.14.0k
Bugs
See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.
See Also
- info
- show_xsabund
- modeling
- get_xsabund, set_xsabundances