firecrown.models.cluster.kernel.Purity#
- class firecrown.models.cluster.kernel.Purity[source]#
Bases:
objectThe purity kernel for the numcosmo simulated survey.
This kernel will affect the integrand by accounting for the purity of a cluster selection.
Public Methods:
distribution(z, mass_proxy, mass_proxy_limits)Evaluates and returns the purity contribution to the integrand.
Private Methods:
_ln_rc(z)- param z:
_nc(z)- param z:
- distribution(z, mass_proxy, mass_proxy_limits)[source]#
Evaluates and returns the purity contribution to the integrand.
- Parameters:
z (
ndarray[tuple[int,...],dtype[float64]]) –mass_proxy (
ndarray[tuple[int,...],dtype[float64]]) –mass_proxy_limits (
tuple[float,float]) –
- Return type:
ndarray[tuple[int,...],dtype[float64]]