hmfast.halos.concentration.B13Concentration
- class hmfast.halos.concentration.B13Concentration[source]
Bases:
ConcentrationConcentration-mass relation from Bhattacharya et al. (2013).
The fitted relation is
\[c_\Delta(M, z) = A D(z)^B \nu^C\]where \(D(z)\) is the linear growth factor and \(\nu(M, z) = \frac{\delta_c}{\sigma(M, z)}\), with \(\delta_c \approx 1.686\) and \(\sigma(M, z)\) the linear-theory variance of the density field smoothed on the mass scale \(M\).
Calibrated for 200c, 200m, and virial mass definitions.
Methods
c_delta(cosmology, m, z[, mass_definition])Compute the concentration parameter.
- c_delta(cosmology, m, z, mass_definition=<hmfast.halos.massdef.MassDefinition object>)[source]
Compute the concentration parameter.
- Parameters:
- cosmologyCosmology
Cosmology used to evaluate the concentration relation.
- marray-like
Halo masses in physical \(M_\odot\).
- zarray-like
Redshifts.
- mass_definitionMassDefinition, optional
Target halo mass definition. Defaults to
MassDefinition(delta="vir", reference="critical").
- Returns:
- float or array-like
Concentration values with shape \((N_m, N_z)\), where singleton dimensions get squeezed before return.