get_xsabundances_path

sherpa.astro.xspec.get_xsabundances_path() Path[source] [edit on github]

Return the path to the abundances file used by X-Spec.

This file is used by X-Spec to determine the different abundance-table settings used by set_xsabund and get_xsabund.

Added in version 4.17.1.

Returns:

path – The full path to the abundances file.

Return type:

pathlib.Path

Examples

>>> get_xsabundances_path()
PosixPath('/path/to/spectral/manager/abundances.dat')