hmf.core._kernels.mass_variance.panel_integrals

hmf.core._kernels.mass_variance.panel_integrals(ln_a: ArrayLike, ln_b: ArrayLike, f: ndarray[tuple[Any, ...], dtype[float64]]) → ndarray[tuple[Any, ...], dtype[float64]][source]

Gauss-Legendre integrals over the panels [ln_a, ln_b] in ln k.

Parameters:
  • ln_a – The ends of each panel.

  • ln_b – The ends of each panel.

  • f – The integrand at panel_points(), shape (..., GAUSS_LEGENDRE_ORDER).

Returns:

One integral per panel.

Return type:

ndarray