Method

NumCosmoClusterAbundancelnM_p_d2n

Declaration [src]

gdouble
nc_cluster_abundance_lnM_p_d2n (
  NcClusterAbundance* cad,
  NcHICosmo* cosmo,
  NcClusterRedshift* clusterz,
  NcClusterMass* clusterm,
  gdouble* lnM_obs,
  gdouble* lnM_obs_params,
  gdouble z
)

Description [src]

This function computes $ \int_{\ln M^{obs} - 7\sigma_{\ln M}}^{\ln M^{obs} + 7\sigma_{\ln M}} d\ln M \, \frac{d^2N}{dzdlnM} * P(\ln M^{obs}|\ln M) $. 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_obs

Type: An array of double

Logarithm base e of the observed mass.

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

Type: An array of double

Parameters for the observed mass distribution (e.g., measurement uncertainties).

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

Type: gdouble

Redshift.

Return value

Type: gdouble

A gdouble which corresponds to $ \int_{\ln M^{obs} - 7\sigma_{\ln M}}^{\ln M^{obs} + 7\sigma_{\ln M}} d\ln M \, \frac{d^2N}{dzdlnM} * P(\ln M^{obs}|\ln M) $.