Class

NumCosmoClusterMassRichness

Description [src]

abstract class NumCosmo.ClusterMassRichness : NumCosmo.ClusterMass
{
  /* No available fields */
}

Abstract class for cluster mass-richness observable relations.

This abstract class implements the truncated lognormal distribution for cluster mass-richness relations. Subclasses must implement the virtual functions mu() and sigma() that define the mean and standard deviation of the log-richness as a function of mass and redshift.

The probability distribution is given by: $$ P(\ln \lambda | M, z) = \frac{1}{\sqrt{2\pi}\sigma} \exp\left[-\frac{(\ln \lambda - \mu)^2}{2\sigma^2}\right] $$ where $\mu = \mu(M, z)$ and $\sigma = \sigma(M, z)$ are model-specific functions.

Instance methods

nc_cluster_mass_richness_compute_truncated_mean

Computes the mean of the truncated log-richness distribution given the untruncated mean and standard deviation. The distribution is truncated at the cut threshold.

nc_cluster_mass_richness_compute_truncated_std

Computes the standard deviation of the truncated log-richness distribution given the untruncated mean and standard deviation. The distribution is truncated at the cut threshold.

nc_cluster_mass_richness_get_cut

Gets the cut in richness.

nc_cluster_mass_richness_get_mean

Computes the mean of the truncated richness distribution.

nc_cluster_mass_richness_get_sample_full_dist

Gets the current sampling strategy.

nc_cluster_mass_richness_get_std

Computes the standard deviation of the truncated richness distribution.

nc_cluster_mass_richness_ln1pz0

Gets the natural logarithm of (1 + pivot redshift).

nc_cluster_mass_richness_lnM0

Gets the natural logarithm of the pivot mass.

nc_cluster_mass_richness_mu

Computes the mean of the log-richness distribution as a function of mass and redshift.

nc_cluster_mass_richness_mu_sigma

Computes both the mean and standard deviation of the log-richness distribution simultaneously. This can be more efficient than calling mu() and sigma() separately when subclasses share intermediate computations.

nc_cluster_mass_richness_set_sample_full_dist

Sets the sampling strategy for richness values.

nc_cluster_mass_richness_sigma

Computes the standard deviation of the log-richness distribution as a function of mass and redshift.

Methods inherited from NcClusterMass (15)
nc_cluster_mass_free

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

nc_cluster_mass_intp

It computes the clusterm probability distribution of lnM lying in the range $[]$, namely, $$ intp = \int_{\ln M^{obs}{min}}^{\ln M^{obs}{max}} p \, d\ln M^{obs},$$ where $p$ is [nc_cluster_mass_p()].

nc_cluster_mass_intp_bin

Computes the integrated probability over the observed mass bin.

nc_cluster_mass_n_limits

Computes the mass limits for the cluster abundance calculation. The function which will call this one is responsible to allocate memory for lnM_lower and lnM_upper.

nc_cluster_mass_p

Computes the probability distribution $P(\ln M_{\mathrm{obs}}|\ln M, z)$.

nc_cluster_mass_p_bin_limits

Computes the integration limits for the true mass given the observed mass bin boundaries.

nc_cluster_mass_p_limits

Computes the integration limits for the true mass given the observed mass and its parameters.

nc_cluster_mass_p_vec_z_lnMobs

This method computes the probability distribution of lnM for each redshift in z given the true mass lnM and the observed mass proxies lnM_obs and their parameters lnM_obs_params.

nc_cluster_mass_plcl_Msz_Ml_p_ndetone

This function computes the i-th term of the posterior given flat priors for the selection function and mass function. See function nc_cluster_pseudo_counts_posterior_ndetone().

nc_cluster_mass_plcl_pdf

Compute the joint probability density used internally by the PL-CL mass model. Integrals in $M_{sz}$ and $M_l$ are performed in the dimensionless quantities $\ln (M_{sz} / M_0)$ and $\ln (M_l / M_0)$, respectively. The Gaussian distributions between $M_{Pl}$ and $M_{CL}$ are written in terms of the dimensionless quantities $M_{Pl}/M_0$, $M_{CL}/M_0$, $\sigma_{Pl}/M_0$ and $\sigma_{CL}/M_0$.

nc_cluster_mass_plcl_pdf_only_lognormal
No description available.

nc_cluster_mass_ref

Increases the reference count of clusterm by one.

nc_cluster_mass_resample

Generates a random sample of the observed mass proxies given the true mass and redshift.

nc_cluster_mass_resample_vec

Generates a random sample of the observed mass proxies given the true mass and redshift. This is a convenience wrapper around nc_cluster_mass_resample() that uses NcmVector for proper Python bindings support.

nc_cluster_mass_volume

Computes the effective volume in the observable mass space.

Methods inherited from NcmModel (89)

Please see NcmModel for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmo.ClusterMassRichness:M0

Pivot mass in the richness-mass scaling relation.

NumCosmo.ClusterMassRichness:cut
No description available.

NumCosmo.ClusterMassRichness:cut-fit
No description available.

NumCosmo.ClusterMassRichness:lnRichness-max

Maximum logarithm (base e) of richness for cluster selection.

NumCosmo.ClusterMassRichness:lnRichness-min

Minimum logarithm (base e) of richness for cluster selection.

NumCosmo.ClusterMassRichness:sample-full-dist

Controls the sampling strategy for richness values:.

NumCosmo.ClusterMassRichness:z0

Pivot redshift in the richness-mass scaling relation.

Properties inherited from NcmModel (9)
NumCosmoMath.Model:implementation
No description available.
NumCosmoMath.Model:name
No description available.
NumCosmoMath.Model:nick
No description available.
NumCosmoMath.Model:params-types
No description available.
NumCosmoMath.Model:reparam
No description available.
NumCosmoMath.Model:scalar-params-len
No description available.
NumCosmoMath.Model:sparam-array
No description available.
NumCosmoMath.Model:submodel-array
No description available.
NumCosmoMath.Model:vector-params-len
No description available.

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 NumCosmoClusterMassRichnessClass {
  gdouble (* mu) (
    NcClusterMassRichness* mr,
    gdouble lnM,
    gdouble z
  );
  gdouble (* sigma) (
    NcClusterMassRichness* mr,
    gdouble lnM,
    gdouble z
  );
  void (* mu_sigma) (
    NcClusterMassRichness* mr,
    gdouble lnM,
    gdouble z,
    gdouble* mu,
    gdouble* sigma
  );
  
}

No description available.

Class members
mu: gdouble (* mu) ( NcClusterMassRichness* mr, gdouble lnM, gdouble z )

No description available.

sigma: gdouble (* sigma) ( NcClusterMassRichness* mr, gdouble lnM, gdouble z )

No description available.

mu_sigma: void (* mu_sigma) ( NcClusterMassRichness* mr, gdouble lnM, gdouble z, gdouble* mu, gdouble* sigma )

No description available.

Virtual methods

NumCosmo.ClusterMassRichnessClass.mu

Computes the mean of the log-richness distribution as a function of mass and redshift.

NumCosmo.ClusterMassRichnessClass.mu_sigma

Computes both the mean and standard deviation of the log-richness distribution simultaneously. This can be more efficient than calling mu() and sigma() separately when subclasses share intermediate computations.

NumCosmo.ClusterMassRichnessClass.sigma

Computes the standard deviation of the log-richness distribution as a function of mass and redshift.