get_xscosmo

sherpa.astro.xspec.get_xscosmo() tuple[float, float, float][source] [edit on github]

Return the X-Spec cosmology settings.

Returns:

The Hubble constant, in km/s/Mpc, the deceleration parameter, and the cosmological constant.

Return type:

(h0, q0, l0)

See also

set_xscosmo

Examples

>>> get_xscosmo()
(70.0, 0.0, 0.7300000190734863)