NcClusterPseudoCounts

NcClusterPseudoCounts — FIXME

Functions

Properties

double Deltaz Read / Write
gboolean Deltaz-fit Read / Write
double lnMCut Read / Write
gboolean lnMCut-fit Read / Write
guint number-clusters Read / Write / Construct Only
double sigma-Mcut Read / Write
gboolean sigma-Mcut-fit Read / Write
double zmin Read / Write
gboolean zmin-fit Read / Write

Types and Values

Object Hierarchy

    GEnum
    ╰── NcClusterPseudoCountsSParams
    GObject
    ╰── NcmModel
        ╰── NcClusterPseudoCounts

Description

FIXME

Functions

nc_cluster_pseudo_counts_new ()

NcClusterPseudoCounts *
nc_cluster_pseudo_counts_new (guint nclusters);

This function instantiates a new object of type NcClusterPseudoCounts.

Parameters

nclusters

total number of clusters (resample)

 

Returns

A new NcClusterPseudoCounts.


nc_cluster_pseudo_counts_ref ()

NcClusterPseudoCounts *
nc_cluster_pseudo_counts_ref (NcClusterPseudoCounts *cpc);

Increases the reference count of cpc by one.

Parameters

Returns

cpc .

[transfer full]


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.

Parameters


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.

Parameters


nc_cluster_pseudo_counts_posterior_ndetone ()

gdouble
nc_cluster_pseudo_counts_posterior_ndetone
                               (NcClusterPseudoCounts *cpc,
                                NcHaloMassFunction *mfp,
                                NcHICosmo *cosmo,
                                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.

Parameters

cpc

a NcClusterPseudoCounts

 

mfp

a NcHaloMassFunction

 

cosmo

a NcHICosmo

 

clusterm

a NcClusterMass

 

z

redshift

 

Mpl

Planck cluster mass

 

Mcl

CLASH cluster mass

 

sigma_pl

Planck mass error

 

sigma_cl

CLASH mass error

 

Returns

FIXME


nc_cluster_pseudo_counts_selection_function ()

gdouble
nc_cluster_pseudo_counts_selection_function
                               (NcClusterPseudoCounts *cpc,
                                gdouble lnM,
                                gdouble z);

This function computes the selection function (include equation). FIXME

Parameters

cpc

a NcClusterPseudoCounts

 

lnM

logarithm base e of the true mass

 

z

true redshift

 

Returns

FIXME


nc_cluster_pseudo_counts_selection_function_lnMi ()

gdouble
nc_cluster_pseudo_counts_selection_function_lnMi
                               (NcClusterPseudoCounts *cpc,
                                NcHICosmo *cosmo);

This function computes the lower mass threshold used in the resample function, namely, $l\ln M_i = lnM_{cut} - 6\sigma_{cut}$.

Parameters

cpc

a NcClusterPseudoCounts

 

cosmo

a NcHICosmo

 

Returns

$\ln M_i$


nc_cluster_pseudo_counts_ndet_no_z_integral ()

gdouble
nc_cluster_pseudo_counts_ndet_no_z_integral
                               (NcClusterPseudoCounts *cpc,
                                NcHICosmo *cosmo,
                                gdouble z);

FIXME

Parameters

cpc

a NcClusterPseudoCounts

 

cosmo

a NcHICosmo

 

z

redshift

 

Returns

FIXME


nc_cluster_pseudo_counts_ndet ()

gdouble
nc_cluster_pseudo_counts_ndet (NcClusterPseudoCounts *cpc,
                               NcHaloMassFunction *mfp,
                               NcHICosmo *cosmo);

FIXME

Parameters

cpc

a NcClusterPseudoCounts

 

mfp

a NcHaloMassFunction

 

cosmo

a NcHICosmo

 

Returns

FIXME


nc_cluster_pseudo_counts_posterior_numerator ()

gdouble
nc_cluster_pseudo_counts_posterior_numerator
                               (NcClusterPseudoCounts *cpc,
                                NcHaloMassFunction *mfp,
                                NcClusterMass *clusterm,
                                NcHICosmo *cosmo,
                                const gdouble z,
                                const gdouble *Mobs,
                                const gdouble *Mobs_params);

FIXME

Parameters

cpc

a NcClusterPseudoCounts

 

mfp

a NcHaloMassFunction

 

clusterm

a NcClusterMass

 

cosmo

a NcHICosmo

 

z

spectroscopic redshift

 

Mobs

logarithm base e of the observed mass.

[array][element-type double]

Mobs_params

observed mass paramaters.

[array][element-type double]

Returns

FIXME


nc_cluster_pseudo_counts_mf_lognormal_integral ()

gdouble
nc_cluster_pseudo_counts_mf_lognormal_integral
                               (NcClusterPseudoCounts *cpc,
                                NcHaloMassFunction *mfp,
                                NcClusterMass *clusterm,
                                NcHICosmo *cosmo,
                                const gdouble lnMsz,
                                const gdouble lnMl,
                                const gdouble z);

FIXME

Parameters

cpc

a NcClusterPseudoCounts

 

mfp

a NcHaloMassFunction

 

clusterm

a NcClusterMass

 

cosmo

a NcHICosmo

 

lnMsz

logarithm base e of SZ mass

 

lnMl

logarithm base e of lensing mass

 

z

spectroscopic redshift

 

Returns

FIXME


nc_cluster_pseudo_counts_posterior_numerator_plcl ()

gdouble
nc_cluster_pseudo_counts_posterior_numerator_plcl
                               (NcClusterPseudoCounts *cpc,
                                NcHaloMassFunction *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$).

Parameters

cpc

a NcClusterPseudoCounts

 

mfp

a NcHaloMassFunction

 

clusterm

a NcClusterMass

 

cosmo

a NcHICosmo

 

z

spectroscopic redshift

 

Mpl

Planck mass

 

Mcl

CLASH mass

 

sigma_pl

standard deviation of Planck mass

 

sigma_cl

standard deviation of CLASH mass

 

Returns

FIXME

Types and Values

enum NcClusterPseudoCountsSParams

FIXME

Members

NC_CLUSTER_PSEUDO_COUNTS_LNMCUT

logarithm base e of the mass cut-off

 

NC_CLUSTER_PSEUDO_COUNTS_SD_MCUT

standard deviation of mass cut-off

 

NC_CLUSTER_PSEUDO_COUNTS_ZMIN

minimum redshift

 

NC_CLUSTER_PSEUDO_COUNTS_DELTAZ

redshift interval size

 

NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_LNMCUT

#define NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_LNMCUT  (33.0)

NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_SD_MCUT

#define NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_SD_MCUT (0.206)

NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_ZMIN

#define NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_ZMIN (0.188)

NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_DELTAZ

#define NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_DELTAZ (0.99)

NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_PARAMS_ABSTOL

#define NC_CLUSTER_PSEUDO_COUNTS_DEFAULT_PARAMS_ABSTOL (0.0)

Property Details

The “Deltaz” property

  “Deltaz”                   double

Maximum redsift is $z_{max} = z_{min} + \Delta z$. Range: $\Delta z \in [0.1, 2.0]$.

Owner: NcClusterPseudoCounts

Flags: Read / Write

Default value: 0.99


The “Deltaz-fit” property

  “Deltaz-fit”               gboolean

\delta{}z:fit.

Owner: NcClusterPseudoCounts

Flags: Read / Write

Default value: FALSE


The “lnMCut” property

  “lnMCut”                   double

Logarithm base e of the lower mass cut-off, $\ln M_{CUT} \in [12.0 \ln(10), 16.0 \ln(10)]$.

Owner: NcClusterPseudoCounts

Flags: Read / Write

Default value: 33


The “lnMCut-fit” property

  “lnMCut-fit”               gboolean

FIXME

Owner: NcClusterPseudoCounts

Flags: Read / Write

Default value: FALSE


The “number-clusters” property

  “number-clusters”          guint

Number of clusters.

Owner: NcClusterPseudoCounts

Flags: Read / Write / Construct Only

Allowed values: >= 1

Default value: 21


The “sigma-Mcut” property

  “sigma-Mcut”               double

\sigma_{MCUT}.

Owner: NcClusterPseudoCounts

Flags: Read / Write

Default value: 0.206


The “sigma-Mcut-fit” property

  “sigma-Mcut-fit”           gboolean

\sigma_{MCUT}:fit.

Owner: NcClusterPseudoCounts

Flags: Read / Write

Default value: FALSE


The “zmin” property

  “zmin”                     double

Range: $z_{min} \in [10^{-5}, 2.0]$

Owner: NcClusterPseudoCounts

Flags: Read / Write

Default value: 0.188


The “zmin-fit” property

  “zmin-fit”                 gboolean

z_{min}:fit.

Owner: NcClusterPseudoCounts

Flags: Read / Write

Default value: FALSE