Method
NumCosmoClusterAbundancez_p_lnM_p_d2n
Declaration [src]
gdouble
nc_cluster_abundance_z_p_lnM_p_d2n (
NcClusterAbundance* cad,
NcHICosmo* cosmo,
NcClusterRedshift* clusterz,
NcClusterMass* clusterm,
gdouble* lnM_obs,
gdouble* lnM_obs_params,
gdouble* z_obs,
gdouble* z_obs_params
)
Description [src]
This function computes $ \int_0^\infty dz \int_{-\infty}^\infty d\ln M \frac{d^2N(\ln M, z)}{dzd\ln M} * P(z^{phot}|z) * P(\ln M^{obs}|\ln M, z) $. We studied the convergence of this integral to optimize this function. We verified that it converges to 5 decimal places at the redshift interval $ [z^{phot} - 10\sigma^{phot}, z^{phot} + 10\sigma^{phot}] $ and the mass interval $ [\ln M^{obs} - 7\sigma_{\ln M}, \ln M^{obs} + 7\sigma_{\ln M}] $.
Parameters
cosmo-
Type:
NcHICosmoA
NcHICosmo.The data is owned by the caller of the method. clusterz-
Type:
NcClusterRedshiftA
NcClusterRedshift.The data is owned by the caller of the method. clusterm-
Type:
NcClusterMassA
NcClusterMass.The data is owned by the caller of the method. lnM_obs-
Type: An array of
doubleLogarithm base e of the observed mass.
The data is owned by the caller of the method. lnM_obs_params-
Type: An array of
doubleParameters 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_obs-
Type: An array of
doubleObserved redshift.
The data is owned by the caller of the method. z_obs_params-
Type: An array of
doubleParameters for the observed redshift distribution (e.g., photometric redshift uncertainties).
The argument can be NULL.The data is owned by the caller of the method.