EnzoCosmology.
luminosity_distance
(z_i, z_f)¶The distance that would be inferred from the inverse-square law of light and the measured flux and luminosity of the observed object.
Parameters: | z_i : float
z_f : float
|
---|
Examples
>>> co = Cosmology()
>>> print co.luminosity_distance(0., 1.).in_units("Mpc")