Synopsis
Return the X-Spec cosmology settings.
Syntax
get_xscosmo()
Example
>>> get_xscosmo() (70.0, 0.0, 0.7300000190734863)
PARAMETERS
This function has no parameters
Return value
The return value from this function is:
The Hubble constant, in km/s/Mpc, the deceleration parameter, and the cosmological constant.
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
- modeling
- set_xscosmo