Method

NumCosmoClusterRedshiftintp

Declaration [src]

gdouble
nc_cluster_redshift_intp (
  NcClusterRedshift* clusterz,
  NcHICosmo* cosmo,
  const gdouble lnM,
  const gdouble z
)

Description [src]

It computes the clusterz probability distribution of z lying in the range $[z^{obs}{min}, z^{obs}{max}]$, namely, $$ intp = \int_{z^{obs}{min}}^{z^{obs}{max}} p \, dz^{obs},$$ where $p$ is [nc_cluster_redshift_p()].

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.

Return value

Type: gdouble

The probability distribution of z lying within $[z^{obs}{min}, z^{obs}{max}]$.