wcosmo.wcosmo.comoving_volume#
- wcosmo.wcosmo.comoving_volume(z, H0, Om0, w0=-1, method='pade')[source]#
Compute the comoving volume out to redshift z.
\[V_C = \frac{4\pi}{3} d^3_C(z; H_0, \Omega_{m,0}, w_0)\]- Parameters:
- z: array_like
Redshift
- H0: array_like
The Hubble constant in km/s/Mpc
- Om0: array_like
The matter density fraction
- w0: array_like
The (constant) equation of state parameter for dark energy
- Returns:
- Vc: array_like
The comoving volume in \(\rm{Gpc}^3\)