Reed03¶
- class hmf.mass_function.fitting_functions.Reed03(*args, validate=True, **kwargs)[source]¶
Reed03 mass function fit.
For details on attributes, see documentation for
FittingFunction.- Parameters:
nu2 (array_like) – A vector of peak-heights, \(\delta_c^2/\sigma^2\) corresponding to m
m (array_like, optional) – A vector of halo masses [units M_sun/h]. Only necessary if
req_massis True. Typically provides limits of applicability. Must correspond to nu2.z (float, optional) – The redshift. Only required if
req_zis True, in which case the default is 0.n_eff (array_like, optional) – The effective spectral index at m. Only required if
req_neffis True.mass_definition (
hmf.halos.mass_definitions.MassDefinitioninstance) – A halo mass definition. Only required for fits which explicitly include a parameterization for halo definition.cosmo (
astropy.cosmology.FLRWinstance, optional) – A cosmology. Default is Planck15. Either omegam_z or cosmo is required ifreq_omzis True. If both are passed, omegam_z takes precedence.**model_parameters (unpacked-dictionary) – These parameters are model-specific. For any model, list the available parameters (and their defaults) using
<model>._defaults
Notes
The Reed03 [1] form is:
\[f_{\rm R03}(\sigma) = f_{\rm SMT}(\sigma)\exp\left(-\frac{c}{\sigma \cosh^5(2\sigma)}\right)\]References
[1]Reed, D., et al., Dec. 2003. MNRAS 346 (2), 565-572. http://adsabs.harvard.edu/abs/2003MNRAS.346..565R
Attributes
Methods
- __init__(*args, validate=True, **kwargs)
- classmethod get_measured_mdef()
Get the mass definition used in the defining simulation.