halomod.halo_exclusion.NgMatched

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

A model for double ellipsoid halo exclusion, where a mask is defined so that the number density of galaxies is matched.

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

Mask Function for matching density

mlim

The mass threshold for the mask.

prob

The probablity distribution used in calculating double integral.

r_halo

The virial radius of the halo