hmf.cosmology.cosmo.get_cosmo

hmf.cosmology.cosmo.get_cosmo(name)[source]

Returns a FLRW cosmology given a string (must be one defined in this module).

Parameters

name (str) – The class name of the appropriate model