hmf.alternatives.wdm.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 (
WDM
subclass instance) – An instance ofWDM
providing a Warm Dark Matter model.**model_parameters (unpack-dict) – Parameters specific to a model. To see the default values, check the
_defaults
class attribute.
Methods
__init__
(m, dndm0[, wdm])Initialize self.
Get a dictionary of all implemented models for this component.