Bases: astropy.cosmology.FLRW
FLRW cosmology with a CPL dark energy equation of state, a pivot redshift, and 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), but modified to have a pivot redshift as in the findings of the Dark Energy Task Force (Albrecht et al. arXiv:0901.0721 (2009)): .
Parameters: | H0 : float or Quantity
Om0 : float
Ode0 : float
wp : float
wa : float
zp : float
Tcmb0 : float or Quantity
Neff : float
m_nu : Quantity
name : str
|
---|
Examples
>>> from astropy.cosmology import wpwaCDM
>>> cosmo = wpwaCDM(H0=70, Om0=0.3, Ode0=0.7, wp=-0.9, wa=0.2, zp=0.4)
The comoving distance in Mpc at redshift z:
>>> z = 0.5
>>> dc = cosmo.comoving_distance(z)
Attributes Summary
wa | Negative derivative of dark energy equation of state w.r.t. |
wp | Dark energy equation of state at the pivot redshift zp |
zp | The pivot redshift, where w(z) = wp |
Methods Summary
de_density_scale(z) | Evaluates the redshift dependence of the dark energy density. |
w(z) | Returns dark energy equation of state at redshift z. |
Attributes Documentation
Negative derivative of dark energy equation of state w.r.t. a
Dark energy equation of state at the pivot redshift zp
The pivot redshift, where w(z) = wp
Methods Documentation
Evaluates the redshift dependence of the dark energy density.
Parameters: | z : array_like
|
---|---|
Returns: | I : ndarray, or float if input scalar
|
Notes
The scaling factor, I, is defined by , and in this case is given by
Returns dark energy equation of state at redshift z.
Parameters: | z : array_like
|
---|---|
Returns: | w : ndarray, or float if input scalar
|
Notes
The dark energy equation of state is defined as , where is the pressure at redshift z and is the density at redshift z, both in units where c=1. Here this is where and .