halomod.halo_exclusion.DblSphere

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

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.

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

Elements that should be set to zero (r,m,m).

mlim

The mass threshold for the mask.

r_halo

The virial radius of the halo