firecrown.models.cluster.kernel.Purity

firecrown.models.cluster.kernel.Purity#

class firecrown.models.cluster.kernel.Purity[source]#

Bases: object

The 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[Any, dtype[float64]]) –

  • mass_proxy (ndarray[Any, dtype[float64]]) –

  • mass_proxy_limits (tuple[float, float]) –

Return type:

ndarray[Any, dtype[float64]]