get_current

astropy.cosmology.core.get_current() [edit on github][source]

Get the current cosmology.

If no current has been set, the WMAP7 comology is returned and a warning is given.

Returns :cosmo : Cosmology instance

See also

set_current
sets the current cosmology

Page Contents