halomod.halo_exclusion.DblEllipsoid

class halomod.halo_exclusion.DblEllipsoid(m, density, Ifunc, bias, r, delta_halo, mean_density)[source]

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.

Methods

__init__(m, density, Ifunc, bias, r, …)

Initialize self.

get_models()

Get a dictionary of all implemented models for this component.

integrate()

Integrate the raw_integrand() over mass.

raw_integrand()

Return either a 2d (k,m) or 3d (r,k,m) array with the general integrand.

Attributes

density_mod

The modified density, under new limits.

mask

Unecessary for this approach.

mlim

The mass threshold for the mask.

prob

The probablity distribution used in calculating double integral.

r_halo

The virial radius of the halo