hmf.core._kernels.fits.peacock

hmf.core._kernels.fits.peacock(nu: ArrayLike, a: ArrayLike, b: ArrayLike, c: ArrayLike) → ndarray[tuple[Any, ...], dtype[float64]][source]

Peacock (2007): \(-dF/d\ln\nu\) of \(F = e^{-c\nu^2}/(1 + a\nu^b)\).

That is \(\nu e^{-c\nu^2}(2cd\nu + ab\nu^{b-1})/d^2\) with \(d = 1 + a\nu^b\).

Parameters:
  • nu – The peak height, \(\nu = \delta_c/\sigma\).

  • a – The coefficient of \(\nu^b\).

  • b – The exponent of the peak height.

  • c – The coefficient of \(\nu^2\) in the exponential.

Returns:

\(f(\sigma)\) (dimensionless), with the broadcast shape of the inputs.

Return type:

numpy.ndarray