Primary
Xset.cosmo ⚬|docu|1st|20251021205753-00-⌔
XspecSettings — PyXspec 2.1.5 documentation#xspec.XspecSettings.cosmo
property
cosmoGet/Set the cosmology values.
Get: Returns a tuple of floats containing (H0, q0, l0), where
- H0 is the Hubble constant in km/(s-Mpc),
- q0 is the deceleration parameter, and
- l0 is the cosmological constant.
Set: Enter a single string containing one or more of H0, q0, l0.
Examples:
Xset.cosmo = "100" # sets H0 to 100.0 Xset.cosmo = ",0" # sets q0 to 0.0 Xset.cosmo = ",,0.7" # sets l0 to 0.7 Xset.cosmo = "50 .5 0." # sets H0=50.0, q0=0.5, l0=0.0Printed 2026-06-28.
(echo:: @ ᯤ)
Link to original
Secondary
• • •