Top | ![]() |
![]() |
![]() |
![]() |
Functions
Properties
gdouble | Deltaz | Read / Write |
gboolean | Deltaz-fit | Read / Write |
gdouble | lnMcut | Read / Write |
gboolean | lnMcut-fit | Read / Write |
guint | number-clusters | Read / Write / Construct Only |
gdouble | sigma-Mcut | Read / Write |
gboolean | sigma-Mcut-fit | Read / Write |
gdouble | zmin | Read / Write |
gboolean | zmin-fit | Read / Write |
Object Hierarchy
GEnum ╰── NcClusterPseudoCountsParams GObject ╰── NcmModel ╰── NcClusterPseudoCounts
Functions
NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_PARAMS_ABSTOL
#define NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_PARAMS_ABSTOL (0.0)
nc_cluster_pseudo_counts_new ()
NcClusterPseudoCounts *
nc_cluster_pseudo_counts_new (guint nclusters
);
This function allocates memory for a new NcClusterPseudoCounts object and sets its properties to the values from the input argument.
nc_cluster_pseudo_counts_ref ()
NcClusterPseudoCounts *
nc_cluster_pseudo_counts_ref (NcClusterPseudoCounts *cpc
);
Increases the reference count of cpc
by one.
nc_cluster_pseudo_counts_free ()
void
nc_cluster_pseudo_counts_free (NcClusterPseudoCounts *cpc
);
Atomically decreases the reference count of cpc
by one. If the reference count drops to 0,
all memory allocated by cpc
is released.
nc_cluster_pseudo_counts_clear ()
void
nc_cluster_pseudo_counts_clear (NcClusterPseudoCounts **cpc
);
The reference count of cpc
is decreased and the pointer is set to NULL.
nc_cluster_pseudo_counts_posterior_ndetone ()
gdouble nc_cluster_pseudo_counts_posterior_ndetone (NcClusterPseudoCounts *cpc
,NcMassFunction *mfp
,NcClusterMass *clusterm
,gdouble z
,gdouble Mpl
,gdouble Mcl
,gdouble sigma_pl
,gdouble sigma_cl
);
This function computes the i-th term of the posterior given flat priors for the selection function and mass function. FIXME (include equations)
Warning!!! The normalization factor of the true redshift prior has to be included in this function if $z_{min}$ and or $z_max$ will be fitted. FIXME Include equations.
nc_cluster_pseudo_counts_selection_function ()
gdouble nc_cluster_pseudo_counts_selection_function (NcClusterPseudoCounts *cpc
,gdouble lnM
);
This function computes the selection function (include equation). FIXME
nc_cluster_pseudo_counts_ndet_no_z_integral ()
gdouble nc_cluster_pseudo_counts_ndet_no_z_integral (NcClusterPseudoCounts *cpc
,NcHICosmo *cosmo
,gdouble z
);
FIXME
nc_cluster_pseudo_counts_ndet ()
gdouble nc_cluster_pseudo_counts_ndet (NcClusterPseudoCounts *cpc
,NcMassFunction *mfp
,NcHICosmo *cosmo
);
FIXME
nc_cluster_pseudo_counts_posterior_numerator ()
gdouble nc_cluster_pseudo_counts_posterior_numerator (NcClusterPseudoCounts *cpc
,NcMassFunction *mfp
,NcClusterMass *clusterm
,NcHICosmo *cosmo
,const gdouble z
,const gdouble *Mobs
,const gdouble *Mobs_params
);
FIXME
nc_cluster_pseudo_counts_posterior_numerator_plcl ()
gdouble nc_cluster_pseudo_counts_posterior_numerator_plcl (NcClusterPseudoCounts *cpc
,NcMassFunction *mfp
,NcClusterMass *clusterm
,NcHICosmo *cosmo
,const gdouble z
,const gdouble Mpl
,const gdouble Mcl
,const gdouble sigma_pl
,const gdouble sigma_cl
);
FIXME Warning! The pivot mass is hard coded ($M_0 = 5.7 \times 10^{14} \, h^{-1} M_\odot$).
Property Details
The “Deltaz”
property
“Deltaz” gdouble
Maximum redsift is $z_{max} = z_{min} + \Delta z$. Range: $\Delta z \in [0.1, 2.0]$.
Flags: Read / Write
Allowed values: [0.1,2]
Default value: 0.99
The “Deltaz-fit”
property
“Deltaz-fit” gboolean
\delta{}z:fit.
Flags: Read / Write
Default value: FALSE
The “lnMcut”
property
“lnMcut” gdouble
Logarithm base e of the lower mass cut-off, $\ln (M_{CUT}) \in [12.0 \ln(10), 16.0 \ln(10)]$.
Flags: Read / Write
Allowed values: [27.631,36.8414]
Default value: 33
The “number-clusters”
property
“number-clusters” guint
Number of clusters.
Flags: Read / Write / Construct Only
Allowed values: >= 1
Default value: 21
The “sigma-Mcut”
property
“sigma-Mcut” gdouble
\sigma_{MCUT}.
Flags: Read / Write
Allowed values: [0.01,0.9]
Default value: 0.206
The “sigma-Mcut-fit”
property
“sigma-Mcut-fit” gboolean
\sigma_{MCUT}:fit.
Flags: Read / Write
Default value: FALSE
The “zmin”
property
“zmin” gdouble
Range: $z_{min} \in [10^{-5}, 2.0]$
Flags: Read / Write
Allowed values: [1e-05,2]
Default value: 0.188