Class

NumCosmoDataClusterMassRichCount

Description [src]

final class NumCosmo.DataClusterMassRichCount : NumCosmoMath.Data
{
  /* No available fields */
}

Cluster mass-richness data object using true (integer) richness counts.

NcDataClusterMassRichCount is a data object analogous to NcDataClusterMassRich, but for the case where the richness is the actual (integer) number of galaxies detected in a cluster, rather than a continuous proxy already marginalized over projection effects. The observed count $N$ is modeled as a Poisson realization of a rate $\lambda$ that is itself log-normally distributed, i.e., $$ N \sim \text{Poisson}(\lambda), \quad \ln\lambda \sim \mathcal{N}(\mu(\ln M, z), \sigma(\ln M, z)), $$ where $\mu$ and $\sigma$ are provided by a NcClusterMassRichness model. The resulting Poisson-Lognormal probability $P(N \mid \mu,\sigma)$ is evaluated using NcmPLN1D.

If the mass-richness model’s cut parameter (see nc_cluster_mass_richness_get_cut()) is non-zero, each cluster’s probability is conditioned on $N \geq N_{\rm cut}$, with $N_{\rm cut} = \mathrm{round}(e^{\rm cut})$, mirroring the truncation applied by NcDataClusterMassRich for the continuous case.

Ancestors

Constructors

nc_data_cluster_mass_rich_count_new

Creates a new NcDataClusterMassRichCount.

Functions

nc_data_cluster_mass_rich_count_clear

If dmrc is not NULL, unrefs it and sets the pointer to NULL.

Instance methods

nc_data_cluster_mass_rich_count_apply_cut

Apply a cut to the data, it will discard all clusters with richness (galaxy count) lower than N_min.

nc_data_cluster_mass_rich_count_free

Atomically decrements the reference count of dmrc by one. If the reference count drops to 0, all memory allocated by dmrc is released.

nc_data_cluster_mass_rich_count_peek_N

Gets the vector containing the observed richness (galaxy count).

nc_data_cluster_mass_rich_count_peek_lnM

Gets the vector containing the true mass.

nc_data_cluster_mass_rich_count_peek_z

Gets the vector containing the true z.

nc_data_cluster_mass_rich_count_ref

Increases the reference count of dmrc by one.

Methods inherited from NcmData (30)

Please see NcmData for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Properties inherited from NcmData (5)
NumCosmoMath.Data:bootstrap

The NcmData bootstrap object if any.

NumCosmoMath.Data:desc

Description of the data object.

NumCosmoMath.Data:init
No description available.
NumCosmoMath.Data:long-desc

Description of the data object.

NumCosmoMath.Data:name

Name of the data object.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct NumCosmoDataClusterMassRichCountClass {
  NcmDataClass parent_class;
  
}

No description available.

Class members
parent_class: NcmDataClass

No description available.