yt.frontends.enzo.simulation_handling.EnzoCosmology.comoving_volume

EnzoCosmology.comoving_volume(z_i, z_f)

“The comoving volume is the volume measure in which number densities of non-evolving objects locked into Hubble flow are constant with redshift.” – Hogg (1999)

Parameters:

z_i : float

The lower redshift of the interval.

z_f : float

The higher redshift of the interval.

Examples

>>> co = Cosmology()
>>> print co.comoving_volume(0., 1.).in_units("Gpccm**3")