hmf.cosmology.cosmo.astropy_to_colossus¶ hmf.cosmology.cosmo.astropy_to_colossus(cosmo: FLRW, name: str = 'custom', **kwargs)[source]¶ Convert an astropy cosmology to a COLOSSUS cosmology. Deprecated since version 3.1.3: This will be removed in 4.0. Use the cosmology.fromAstropy function in COLOSSUS instead