Method

NumCosmoClusterRedshiftp

Declaration [src]

gdouble
nc_cluster_redshift_p (
  NcClusterRedshift* clusterz,
  NcHICosmo* cosmo,
  const gdouble lnM,
  const gdouble z,
  const gdouble* z_obs,
  const gdouble* z_obs_params
)

Description [src]

It computes the probability density function (pdf) of the cluster redshift distribution clusterz given z, lnM and the measured redshit z_obs and its parameter(s) z_obs_params.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: const gdouble

True mass.

z

Type: const gdouble

True redshift.

z_obs

Type: An array of double

Measured redshift.

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

Type: An array of double

Measured redshift params.

The data is owned by the caller of the method.

Return value

Type: gdouble

The pdf of clusterz.