yt.frontends.enzo.simulation_handling.EnzoCosmology.angular_scale

EnzoCosmology.angular_scale(z_i, z_f)

The proper transverse distance between two points at redshift z_f observed at redshift z_i per unit of angular separation.

Parameters:

z_i : float

The redshift of the observer.

z_f : float

The redshift of the observed object.

Examples

>>> co = Cosmology()
>>> print co.angular_scale(0., 1.).in_units("kpc / arcsec")