firecrown.models.cluster.kernel
The cluster kernel module.
This module holds the classes that define the kernels that can be included in the cluster abundance integrand.
Classes
The kernels that can be included in the cluster abundance integrand. |
|
The completeness kernel for the numcosmo simulated survey. |
|
The purity kernel for the numcosmo simulated survey. |
|
The true mass kernel. |
|
The spec-z kernel. |
Module Contents
- class firecrown.models.cluster.kernel.KernelType(*args, **kwds)[source]
Bases:
enum.Enum
The kernels that can be included in the cluster abundance integrand.
- MASS = 1
- Z = 2
- MASS_PROXY = 3
- Z_PROXY = 4
- COMPLETENESS = 5
- PURITY = 6
- class firecrown.models.cluster.kernel.Completeness[source]
The completeness kernel for the numcosmo simulated survey.
This kernel will affect the integrand by accounting for the incompleteness of a cluster selection.
- class firecrown.models.cluster.kernel.Purity[source]
The purity kernel for the numcosmo simulated survey.
This kernel will affect the integrand by accounting for the purity of a cluster selection.
- distribution(z, mass_proxy, mass_proxy_limits)[source]
Evaluates and returns the purity contribution to the integrand.
- Parameters:
z (numpy.typing.NDArray[numpy.float64])
mass_proxy (numpy.typing.NDArray[numpy.float64])
mass_proxy_limits (tuple[float, float])
- Return type:
numpy.typing.NDArray[numpy.float64]
- class firecrown.models.cluster.kernel.TrueMass[source]
The true mass kernel.
Assuming we measure the true mass, this will always be 1.