halomod.halo_exclusion

Module defining halo model components for halo exclusion.

Functions

cumsimps(func, dx)

A very simplistic cumulative simpsons rule integrator.

dbltrapz(X, dx[, dy])

Double-integral over the last two dimensions of X using trapezoidal rule.

integrate_dblsphere(integ, mask, dx)

Integration function for double sphere model.

makeW(nx, ny)

Return a window matrix for double-intergral.

outer(a, b)

Calculate the outer product of two vectors.

Classes

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

Double Ellipsoid model of halo exclusion.

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

Double Sphere model of halo exclusion.

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

Base class for exclusion models.

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

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

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

A model where there’s no halo exclusion.

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

Spherical halo exclusion model.