EnzoCosmology.
z_from_t
(my_time)¶Compute the redshift from time after the big bang. This is based on Enzo’s CosmologyComputeExpansionFactor.C, but altered to use physical units.
Parameters: | my_time : float
|
---|
Examples
>>> co = Cosmology()
>>> print co.t_from_z(4.e17)