Method

NumCosmoClusterMassplcl_pdf

Declaration [src]

gdouble
nc_cluster_mass_plcl_pdf (
  NcClusterMass* clusterm,
  gdouble lnM_M0,
  gdouble w1,
  gdouble w2,
  const gdouble* Mobs,
  const gdouble* Mobs_params
)

Description [src]

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$.

This distribution is “partially” normalized. The constant normalization factor is included only in nc_cluster_pseudo_counts_posterior_numerator_plcl().

Parameters

lnM_M0

Type: gdouble

Logarithm base e of the true mass minus lnM0 (pivot mass).

w1

Type: gdouble

New variable 1.

w2

Type: gdouble

New variable 2.

Mobs

Type: An array of double

Observed masses.

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

Type: An array of double

Observed mass paramaters.

The data is owned by the caller of the method.

Return value

Type: gdouble

Value proportional to the joint probability density $P(\ln M_{SZ}, \ln M_L \mid M_{500})$ (dimensionless). The caller is responsible for any additional normalization when building a posterior.