wcosmo.wcosmo.hubble_parameter#
- wcosmo.wcosmo.hubble_parameter(z, H0, Om0, w0=-1)[source]#
Compute the Hubble parameter \(H(z)\) for a flat wCDM cosmology.
\[H(z; H_0, \Omega_{m,0}, w_0) = \frac{d_H(H_0)}{E(z; \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:
- H(z): array_like
The Hubble parameter