halomod.halo_exclusion.DblEllipsoid

class halomod.halo_exclusion.DblEllipsoid_(m: ndarray, density: ndarray, power_integrand: ndarray, bias: ndarray, r: ndarray, halo_density: float, xmin: float | None = None)[source]

Bases: DblEllipsoid

The same as DblEllipsoid. But uses NUMBA to speed up the integration.

property density_mod[source]

The modified density, under new limits.

classmethod get_models() dict[str, type]

Get a dictionary of all implemented models for this component.

integrate()[source]

Integrate the raw_integrand() over mass.

property mask

Unecessary for this approach.

property mlim

The mass threshold for the mask.

property prob[source]

The probablity distribution used in calculating double integral.

property r_halo

The virial radius of the halo.

raw_integrand() ndarray

Compute the full power spectrum integrand.

The output is always a 3D array, with shape (r, k, m).