Top |
NcHaloMassFunction * | halo-mass-function | Read / Write / Construct Only |
NcHaloBias * | mean-bias | Read / Write / Construct Only |
gdouble (*NcClusterAbundanceN) (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
);
gdouble (*NcClusterAbundanceIntPd2N) (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,gdouble lnM
,gdouble z
);
gdouble (*NcClusterAbundanceIntPd2NBias) (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,gdouble *lnM_obs
,gdouble *lnM_obs_params
,gdouble *z_obs
,gdouble *z_obs_params
);
#define nc_cluster_abundance_d2NdzdlnM_val(cad, cp, lnM, z) (cad)->d2NdzdlnM_val (cad, cp, lnM, z)
#define nc_cluster_abundance_dNdz_val(cad, cp, lnMl, lnMu, z) (cad)->dNdz_val (cad, cp, lnMl, lnMu, z)
#define nc_cluster_abundance_dNdlnM_val(cad, cp, lnM, zl, zu) (cad)->dNdlnM_val (cad, cp, lnM, zl, zu)
#define nc_cluster_abundance_N_val(cad, cp, lnMl, lnMu, zl, zu) (cad)->N_val (cad, cp, lnMl, lnMu, zl, zu)
NcClusterAbundance * nc_cluster_abundance_new (NcHaloMassFunction *mfp
,NcHaloBias *mbiasf
);
This function allocates memory for a new NcClusterAbundance object and sets its properties to the values from the input arguments.
NcClusterAbundance * nc_cluster_abundance_nodist_new (NcHaloMassFunction *mfp
,NcHaloBias *mbiasf
);
This function allocates memory for a new NcClusterAbundance object and sets its properties to the values from the input arguments.
NcClusterAbundance *
nc_cluster_abundance_ref (NcClusterAbundance *cad
);
Increases the reference count of cad
by one.
void
nc_cluster_abundance_free (NcClusterAbundance *cad
);
Atomically decrements the reference count of cad
by one. If the reference count drops to 0,
all memory allocated by cad
is released.
void
nc_cluster_abundance_clear (NcClusterAbundance **cad
);
Atomically decrements the reference count of cad
by one. If the reference count drops to 0,
all memory allocated by cad
is released.
void nc_cluster_abundance_prepare (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
);
This function prepares ...
void nc_cluster_abundance_prepare_if_needed (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
);
FIXME
void nc_cluster_abundance_set_area (NcClusterAbundance *cad
,const gdouble area
);
This function prepares ...
void nc_cluster_abundance_prepare_inv_dNdz (NcClusterAbundance *cad
,NcHICosmo *cosmo
,const gdouble lnMi
);
This function prepares a bidimensional spline...
void nc_cluster_abundance_prepare_inv_dNdlnM_z (NcClusterAbundance *cad
,NcHICosmo *cosmo
,const gdouble lnMi
,gdouble z
);
This function prepares a spline where the x array corresponds to the value of $\int_{\ln M_0} ^{\ln M_1} d^2N/dzd\ln M dM/ \int_lnMi^lnMf dN/dz dM$ given a redshift $z$ and the y array contains the values of logarithms base e of the mass. It is used to generate a sample of $\ln M$ values.
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
);
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}] $.
gdouble nc_cluster_abundance_z_p_d2n (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,gdouble lnM
,gdouble *z_obs
,gdouble *z_obs_params
);
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.
gdouble nc_cluster_abundance_lnM_p_d2n (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,gdouble *lnM_obs
,gdouble *lnM_obs_params
,gdouble z
);
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.
gdouble nc_cluster_abundance_d2n (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,gdouble lnM
,gdouble z
);
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.
gdouble nc_cluster_abundance_true_n (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
);
This function computes the total number of "true" clusters, i.e., halos within redshift and mass intervals, and over a sky area.
gdouble nc_cluster_abundance_n (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
);
This function computes the total number of clusters within specific redshift
and mass intervals, which are defined in clusterz
and clusterm
, respectively,
and over a sky area.
gdouble nc_cluster_abundance_intp_d2n (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,gdouble lnM
,gdouble z
);
FIXME
gdouble nc_cluster_abundance_intp_bin_d2n (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,const gdouble *lnM_obs_lower
,const gdouble *lnM_obs_upper
,const gdouble *lnM_obs_params
,const gdouble *z_obs_lower
,const gdouble *z_obs_upper
,const gdouble *z_obs_params
);
FIXME
cad |
||
cosmo |
||
clusterz |
||
clusterm |
||
lnM_obs_lower |
FIXME. |
[array][element-type gdouble] |
lnM_obs_upper |
FIXME. |
[array][element-type gdouble] |
lnM_obs_params |
FIXME. |
[array][element-type gdouble][allow-none] |
z_obs_lower |
FIXME. |
[array][element-type gdouble] |
z_obs_upper |
FIXME. |
[array][element-type gdouble] |
z_obs_params |
FIXME. |
[array][element-type gdouble][allow-none] |
gdouble nc_bias_mean_val (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnMl
,gdouble lnMu
,gdouble z
);
gdouble nc_ca_mean_bias_numerator (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnM
,gdouble z
);
gdouble nc_ca_mean_bias_denominator (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnM
,gdouble z
);
gdouble nc_ca_mean_bias (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnM
,gdouble z
);
gdouble nc_ca_mean_bias_Mobs_numerator (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnMobs
,gdouble z
);
gdouble nc_ca_mean_bias_Mobs_denominator (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnMobs
,gdouble z
);
gdouble nc_cluster_abundance_intp_d2n_bias (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,gdouble *lnM_obs
,gdouble *lnM_obs_params
,gdouble *z_obs
,gdouble *z_obs_params
);
FIXME
gdouble nc_cluster_abundance_intp_bin_d2n_bias (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,const gdouble *lnM_obs_lower
,const gdouble *lnM_obs_upper
,const gdouble *lnM_obs_params
,const gdouble *z_obs_lower
,const gdouble *z_obs_upper
,const gdouble *z_obs_params
);
FIXME
cad |
||
cosmo |
||
clusterz |
||
clusterm |
||
lnM_obs_lower |
FIXME. |
[array][element-type gdouble] |
lnM_obs_upper |
FIXME. |
[array][element-type gdouble] |
lnM_obs_params |
FIXME. |
[array][element-type gdouble][allow-none] |
z_obs_lower |
FIXME. |
[array][element-type gdouble] |
z_obs_upper |
FIXME. |
[array][element-type gdouble] |
z_obs_params |
FIXME. |
[array][element-type gdouble][allow-none] |
gdouble nc_cluster_abundance_mean_bias (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
);
“halo-mass-function”
property“halo-mass-function” NcHaloMassFunction *
Number density of halos with mass [M, M + dM].
Owner: NcClusterAbundance
Flags: Read / Write / Construct Only
“mean-bias”
property“mean-bias” NcHaloBias *
FIXME
Owner: NcClusterAbundance
Flags: Read / Write / Construct Only