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.

FlatLambdaCDM(H0, Om0[, Tcmb0, Neff, m_nu, ...])

FlatwCDM(H0, Om0[, w0, Tcmb0, Neff, m_nu, ...])

WCosmoMixin()

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