halomod.halo_exclusion.DblSphere¶
- class halomod.halo_exclusion.DblSphere_(m: ndarray, density: ndarray, power_integrand: ndarray, bias: ndarray, r: ndarray, halo_density: float, xmin: float | None = None)[source]¶
Bases:
DblSphereThe same as
DblSphere. But uses NUMBA to speed up the integration.- property density_mod¶
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¶
Elements that should be set to zero (r,m,m).
- property mlim¶
The mass threshold for the mask.
- 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).