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(H0, Om0, Tcmb0[, ...])

FlatwCDM(H0, Om0, Tcmb0[, equivalencies, ...])

WCosmoMixin()

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