Top | ![]() |
![]() |
![]() |
![]() |
Functions
Properties
NcHaloMassFunction * | halo-mass-function | Read / Write / Construct Only |
NcHaloBiasFunc * | mean-bias | Read / Write / Construct Only |
Functions
NcClusterAbundanceN ()
gdouble (*NcClusterAbundanceN) (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
);
NcClusterAbundanceIntPd2N ()
gdouble (*NcClusterAbundanceIntPd2N) (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,gdouble lnM
,gdouble z
);
nc_cluster_abundance_d2NdzdlnM_val()
#define nc_cluster_abundance_d2NdzdlnM_val(cad,cp,lnM,z) (cad)->d2NdzdlnM_val(cad,cp,lnM,z)
nc_cluster_abundance_dNdz_val()
#define nc_cluster_abundance_dNdz_val(cad,cp,lnMl,lnMu,z) (cad)->dNdz_val(cad,cp,lnMl,lnMu,z)
nc_cluster_abundance_dNdlnM_val()
#define nc_cluster_abundance_dNdlnM_val(cad,cp,lnM,zl,zu) (cad)->dNdlnM_val(cad,cp,lnM,zl,zu)
nc_cluster_abundance_N_val()
#define nc_cluster_abundance_N_val(cad,cp,lnMl,lnMu,zl,zu) (cad)->N_val(cad,cp,lnMl,lnMu,zl,zu)
nc_cluster_abundance_new ()
NcClusterAbundance * nc_cluster_abundance_new (NcHaloMassFunction *mfp
,NcHaloBiasFunc *mbiasf
);
This function allocates memory for a new NcClusterAbundance object and sets its properties to the values from the input arguments.
nc_cluster_abundance_nodist_new ()
NcClusterAbundance * nc_cluster_abundance_nodist_new (NcHaloMassFunction *mfp
,NcHaloBiasFunc *mbiasf
);
This function allocates memory for a new NcClusterAbundance object and sets its properties to the values from the input arguments.
nc_cluster_abundance_ref ()
NcClusterAbundance *
nc_cluster_abundance_ref (NcClusterAbundance *cad
);
Increases the reference count of cad
by one.
nc_cluster_abundance_free ()
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.
nc_cluster_abundance_clear ()
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.
nc_cluster_abundance_prepare ()
void nc_cluster_abundance_prepare (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
);
This function prepares ...
nc_cluster_abundance_prepare_if_needed ()
void nc_cluster_abundance_prepare_if_needed (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
);
FIXME
nc_cluster_abundance_prepare_inv_dNdz ()
void nc_cluster_abundance_prepare_inv_dNdz (NcClusterAbundance *cad
,NcHICosmo *cosmo
,const gdouble lnMi
);
This function prepares a bidimensional spline...
nc_cluster_abundance_prepare_inv_dNdlnM_z ()
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.
nc_cluster_abundance_z_p_lnM_p_d2n ()
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 /f$ \int_0^\infty dz \int_0^\infty d\ln M \frac{d^2N(\ln M, z)}{dzd\ln M} * P(z^{phot}|z) * P(\ln M^{obs}|\ln M, z) /f$. We studied the convergence of this integral to optimize this function. We verified that it converges to 5 decimal places at the redshift interval /f$ [z^{phot} - 10\sigma^{phot}, z^{phot} + 10\sigma^{phot}] /f$ and the mass interval /f$ [\ln M^{obs} - 7\sigma_{\ln M}, \ln M^{obs} + 7\sigma_{\ln M}] /f$.
nc_cluster_abundance_z_p_d2n ()
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 /f$ \int_{z_{phot} - 10\sigma_{phot}}^{z_{phot} + 10\sigma_{phot}} dz \, \frac{d^2N}{dzdlnM} * P(z^{photo}|z) /f$. The integral limits were determined requiring a precision to five decimal places.
nc_cluster_abundance_lnM_p_d2n ()
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 /f$ \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) /f$. The integral limits were determined requiring a precision to five decimal places.
nc_cluster_abundance_d2n ()
gdouble nc_cluster_abundance_d2n (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,gdouble lnM
,gdouble z
);
This function computes /f$ \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) /f$. The integral limits were determined requiring a precision to five decimal places.
nc_cluster_abundance_true_n ()
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.
nc_cluster_abundance_n ()
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.
nc_cluster_abundance_intp_d2n ()
gdouble nc_cluster_abundance_intp_d2n (NcClusterAbundance *cad
,NcHICosmo *cosmo
,NcClusterRedshift *clusterz
,NcClusterMass *clusterm
,gdouble lnM
,gdouble z
);
FIXME
nc_bias_mean_val ()
gdouble nc_bias_mean_val (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnMl
,gdouble lnMu
,gdouble z
);
nc_ca_mean_bias_numerator ()
gdouble nc_ca_mean_bias_numerator (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnM
,gdouble z
);
nc_ca_mean_bias_denominator ()
gdouble nc_ca_mean_bias_denominator (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnM
,gdouble z
);
nc_ca_mean_bias ()
gdouble nc_ca_mean_bias (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnM
,gdouble z
);
nc_ca_mean_bias_Mobs_numerator ()
gdouble nc_ca_mean_bias_Mobs_numerator (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnMobs
,gdouble z
);
nc_ca_mean_bias_Mobs_denominator ()
gdouble nc_ca_mean_bias_Mobs_denominator (NcClusterAbundance *cad
,NcHICosmo *cosmo
,gdouble lnMobs
,gdouble z
);
Property Details
The “halo-mass-function”
property
“halo-mass-function” NcHaloMassFunction *
FIXME
Flags: Read / Write / Construct Only