Learn R Programming

CRAC (version 1.0)

eZ: compute E(z) of given cosmology

Description

Compute the $E(z)=H(z)/H_0$, or $$E(z)\equiv\sqrt{\Omega_\mathbf{M}(1+z)^3+\Omega_\mathbf{k}(1+z)^2+ \Omega_\Lambda(1+z)^{(1+w)},} where we omit the radiation component.$$

Usage

eZ(z, cosmo)

Arguments

z
Redshift
cosmo
cosmology parameter list, contains 'omegaM0', 'omegaL0', 'omegaK'

Value

  • The dimentionless Hubble constant $H(z)/H_0$

References

Equation (14) in [H99]

See Also

eZ2,parameter.fidcosmo

Examples

Run this code
eZ(1.2,parameter.fidcosmo)

Run the code above in your browser using DataLab