Method

NumCosmoClusterMassp

Declaration [src]

gdouble
nc_cluster_mass_p (
  NcClusterMass* clusterm,
  NcHICosmo* cosmo,
  const gdouble lnM,
  const gdouble z,
  const gdouble* lnM_obs,
  const gdouble* lnM_obs_params
)

Description [src]

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

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: const gdouble

Logarithm base e of the true mass.

z

Type: const gdouble

True redshift.

lnM_obs

Type: An array of double

Observed mass array.

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

Type: An array of double

Observational parameters.

The argument can be NULL.
The data is owned by the caller of the method.

Return value

Type: gdouble

Probability value.