astropy:docs

get_current

astropy.cosmology.get_current(*args, **kwargs)[source] [edit on github]

Deprecated since version 0.4: The get_current function is deprecated and may be removed in a future version. Use astropy.cosmology.default_cosmology.get instead.

Get the current cosmology.

If no current has been set, the WMAP9 comology is returned and a warning is given.
Returns:cosmo : Cosmology instance

Page Contents