hmf.density_field.transfer_models.TransferComponent¶
- class hmf.density_field.transfer_models.TransferComponent(cosmo, **model_parameters)[source]¶
Base class for transfer models.
The only necessary function to specify is
lnt
, which returns the log transfer givenlnk
.- Parameters
cosmo (
astropy.cosmology.FLRW
instance) – The cosmology used in the calculation**model_parameters – Any model-specific parameters.
Methods
__init__
(cosmo, **model_parameters)Initialize self.
Get a dictionary of all implemented models for this component.
lnt
(lnk)Natural log of the transfer function