halomod.halo_exclusion.NgMatched¶
- class halomod.halo_exclusion.NgMatched(m: ndarray, density: ndarray, power_integrand: ndarray, bias: ndarray, r: ndarray, halo_density: float)[source]¶
Bases:
DblEllipsoid
A model for double ellipsoid halo exclusion, where a mask is defined so that the number density of galaxies is matched.
- 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.
- mask¶
Mask Function for matching density.
- property mlim¶
The mass threshold for the mask.
- prob¶
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)
.