yt.frontends.enzo.simulation_handling.EnzoCosmology.lookback_time

EnzoCosmology.lookback_time(z_i, z_f)

The difference in the age of the Universe between the redshift interval z_i to z_f.

Parameters:

z_i : float

The lower redshift of the interval.

z_f : float

The higher redshift of the interval.

Examples

>>> co = Cosmology()
>>> print co.lookback_time(0., 1.).in_units("Gyr")