hmf.cosmoΒΆ
Module dealing with cosmological models.
The main class is Cosmology, which is a framework wrapping the astropy
cosmology classes, while converting it to a hmf._framework.Framework
for use in this package.
Also provided in the namespace are the pre-defined cosmologies from astropy:
WMAP5, WMAP7, WMAP9, Planck13, Planck15 and Planck18, which may be used as
arguments to the Cosmology framework. All custom subclasses of astropy.cosmology.FLRW
may be used as inputs.
Classes
|
Basic Cosmology object. |
Functions
|
Convert an astropy cosmology to a COLOSSUS cosmology. |
|
Returns a FLRW cosmology given a string (must be one defined in this module). |