WDMRecalibrateMF¶
- class hmf.alternatives.wdm.WDMRecalibrateMF(m, dndm0, wdm=<hmf.alternatives.wdm.Viel05 object>, **model_parameters)[source]¶
Base class for Components that emulate the effect of WDM on the HMF empirically.
Required method is
dndm_alter().- Parameters:
m (array_like) – Masses at which the HMF is calculated.
dndm0 (array_like) – The original HMF at m.
wdm (
WDMsubclass instance) – An instance ofWDMproviding a Warm Dark Matter model.**model_parameters (unpack-dict) – Parameters specific to a model. To see the default values, check the
_defaultsclass attribute.
Methods
- __init__(m, dndm0, wdm=<hmf.alternatives.wdm.Viel05 object>, **model_parameters)[source]
- dndm_alter()[source]
Alter the CDM dn/dm to impose WDM modeling.