wcosmo.astropy#

astropy-like cosmology objects to work with wcosmo.

By default, this provides a drop-in replacement for astropy.FlatLambdaCDM and astropy.FlatwCDM cosmology objects along with all of the pre-defined astropy cosmologies.

By changing the backend and disabling units, these classes can then be used with numpy, jax, or cupy.

Classes

FlatLambdaCDM

alias of _FlatLambdaCDM

FlatwCDM

alias of _FlatwCDM

WCosmoMixin()

Mixin to provide access to the wcosmo functionality to astropy cosmology objects.