Method

NumCosmoClusterAbundancez_p_d2n

Declaration [src]

gdouble
nc_cluster_abundance_z_p_d2n (
  NcClusterAbundance* cad,
  NcHICosmo* cosmo,
  NcClusterRedshift* clusterz,
  NcClusterMass* clusterm,
  gdouble lnM,
  gdouble* z_obs,
  gdouble* z_obs_params
)

Description [src]

This function computes $ \int_{z_{phot} - 10\sigma_{phot}}^{z_{phot} + 10\sigma_{phot}} dz \, \frac{d^2N}{dzdlnM} * P(z^{photo}|z) $. The integral limits were determined requiring a precision to five decimal places.

Parameters

cosmo

Type: NcHICosmo

A NcHICosmo.

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

Type: NcClusterRedshift

A NcClusterRedshift.

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

Type: gdouble

The logarithm base e of the mass (gdouble).

z_obs

Type: An array of double

Observed redshift.

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

Type: An array of double

Parameters for the observed redshift distribution.

The data is owned by the caller of the method.

Return value

Type: gdouble

A gdouble which corresponds to $ \int_{z_{phot} - 10\sigma_{phot}}^{z_{phot} + 10\sigma_{phot}} dz \, \frac{d^2N}{dzdlnM} * P(z^{photo}|z) $.