EnzoCosmology.
hubble_time
The age of the Universe at a given redshift.
z : float
Redshift.
z_inf : float
The upper bound of the integral of the age integrand. Default: 1e6.
See also
t_from_z
Examples
>>> co = Cosmology() >>> print co.hubble_time(0.).in_units("Gyr")