hmf.core._kernels.fits.warren

hmf.core._kernels.fits.warren(sigma: ArrayLike, A: ArrayLike, b: ArrayLike, c: ArrayLike, d: ArrayLike, e: ArrayLike) → ndarray[tuple[Any, ...], dtype[float64]][source]

The Warren et al. (2006) form: \(A[(e/\sigma)^b + c]\exp(-d/\sigma^2)\).

Many later fits share it, with other parameters (and c = 1 for some).

Parameters:
  • sigma – \(\sigma(m, z)\).

  • A – The amplitude.

  • b – The exponent of the power law.

  • c – The constant added to the power law.

  • d – The coefficient of \(\sigma^{-2}\) in the exponential.

  • e – The scale of sigma in the power law.

Returns:

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

Return type:

numpy.ndarray