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.