yaw.cosmology.CustomCosmology#
- class yaw.cosmology.CustomCosmology[source]#
Bases:
ABCMeta-class that defines the interface for custom cosmologies.
Custom cosmology must either be an astropy cosmological model or must be a subclass of this meta-class to be compatible with yet_another_wizz.
Methods
__init__()Compute the angular diameter distance at the given redshift.
Compute the comoving distance at the given redshift.