lookback_time

astropy.cosmology.funcs.lookback_time(z, cosmo=None) [edit on github][source]

Lookback time in Gyr to redshift z.

The lookback time is the difference between the age of the Universe now and the age at redshift z.

Parameters :

z : array_like

Input redshifts.

Returns :

t : ndarray, or float if input scalar

Lookback time at each input redshift.

Page Contents