halomod.halo_exclusion.DblSphere¶
- class halomod.halo_exclusion.DblSphere(m: ndarray, density: ndarray, power_integrand: ndarray, bias: ndarray, r: ndarray, halo_density: float)[source]¶
Bases:
Sphere
Double Sphere model of halo exclusion.
Only halo pairs for which the sum of virial radii is smaller than the separation, i.e.:
\[R_{\rm vir,1}+R_{\rm vir,2} \le r\]will be accounted for.
- 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¶
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)
.