Flatw0waCDM

class astropy.cosmology.core.Flatw0waCDM(H0, Om0, w0=-1.0, wa=0.0, Tcmb0=2.725, Neff=3.04, name='Flatw0waCDM') [edit on github][source]

Bases: astropy.cosmology.core.w0waCDM

FLRW cosmology with a CPL dark energy equation of state and no curvature.

The equation for the dark energy equation of state uses the CPL form as described in Chevallier & Polarski Int. J. Mod. Phys. D10, 213 (2001) and Linder PRL 90, 91301 (2003): w(z) = w_0 + w_a (1-a) = w_0 + w_a z / (1+z).

Examples

>>> from astro.cosmology import Flatw0waCDM
>>> cosmo = Flatw0waCDM(H0=70, Om0=0.3, w0=-0.9, wa=0.2)

The comoving distance in Mpc at redshift z:

>>> dc = cosmo.comoving_distance(z)

Page Contents