halomod.halo_exclusion.DblEllipsoid

class halomod.halo_exclusion.DblEllipsoid(m: ndarray, density: ndarray, power_integrand: ndarray, bias: ndarray, r: ndarray, halo_density: float)[source]

Bases: DblSphere

Double Ellipsoid model of halo exclusion.

Assuming a lognormal distribution of ellipticities for halos, the probability of halo pairs not excluded is:

\[P(y) = 3 y^2 - 2 y^3 ,\; y = (x-0.8)/0.29,\; x = r/(R_{\rm vir,1}+R_{\rm vir,2})\]

taken from [1].

References

[1]

Tinker, J. et al., “ On the Mass-to-Light Ratio of Large-Scale Structure”, https://ui.adsabs.harvard.edu/abs/2005ApJ…631…41T.

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

Unecessary for this approach.

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).