halomod.halo_exclusion.Sphere

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

Spherical halo exclusion model.

Only halo pairs where the virial radius of either halo is smaller than half of the seperation, i.e.:

\[R_{\rm vir} \le r/2\]

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.

mlim

The mass threshold for the mask.