Method

NumCosmoClusterPseudoCountsposterior_ndetone

Declaration [src]

gdouble
nc_cluster_pseudo_counts_posterior_ndetone (
  NcClusterPseudoCounts* cpc,
  NcHaloMassFunction* mfp,
  NcHICosmo* cosmo,
  NcClusterMass* clusterm,
  gdouble z,
  gdouble Mpl,
  gdouble Mcl,
  gdouble sigma_pl,
  gdouble sigma_cl
)

Description [src]

Compute the posterior term contribution for a single detection (i-th term) assuming flat priors for the selection function and halo mass function. The routine uses the PL-CL cluster mass model to evaluate the likelihood term for the observed masses at given redshift.

Note: when redshift bounds are themselves modelled (z_min or z_max fitted) the caller must include the appropriate normalization factor for the true redshift prior. See higher-level posterior assembly routines for details.

Parameters

mfp

Type: NcHaloMassFunction

A NcHaloMassFunction.

The data is owned by the caller of the method.
cosmo

Type: NcHICosmo

A NcHICosmo.

The data is owned by the caller of the method.
clusterm

Type: NcClusterMass

A NcClusterMass.

The data is owned by the caller of the method.
z

Type: gdouble

Redshift.

Mpl

Type: gdouble

Planck cluster mass.

Mcl

Type: gdouble

CLASH cluster mass.

sigma_pl

Type: gdouble

Planck mass error.

sigma_cl

Type: gdouble

CLASH mass error.

Return value

Type: gdouble

Dimensionless posterior contribution for the provided observation.