NcClusterPseudoCounts

NcClusterPseudoCounts — FIXME

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

Types and Values

Object Hierarchy

    GEnum
    ╰── NcClusterPseudoCountsParams
    GObject
    ╰── NcmModel
        ╰── NcClusterPseudoCounts

Description

FIXME

Functions

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)

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.

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,
                                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.

Parameters

cpc

a NcClusterPseudoCounts

 

mfp

a NcMassFunction

 

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);

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

Parameters

cpc

a NcClusterPseudoCounts

 

lnM

logarithm base e of the true mass

 

Returns

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

Parameters

cpc

a NcClusterPseudoCounts

 

cosmo

a NcHICosmo

 

z

redshift

 

Returns

FIXME


nc_cluster_pseudo_counts_ndet ()

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

FIXME

Parameters

cpc

a NcClusterPseudoCounts

 

mfp

a NcMassFunction

 

cosmo

a NcHICosmo

 

Returns

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

Parameters

cpc

a NcClusterPseudoCounts

 

mfp

a NcMassFunction

 

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_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$).

Parameters

cpc

a NcClusterPseudoCounts

 

mfp

a NcMassFunction

 

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 NcClusterPseudoCountsParams

FIXME

Members

NC_CLUSTER_PSEUDO_COUNTS_LNMCUT

lower mass cut-off

 

NC_CLUSTER_PSEUDO_COUNTS_SD_MCUT

standard deviation of the mass cut-off

 

NC_CLUSTER_PSEUDO_COUNTS_ZMIN

minimum redshift

 

NC_CLUSTER_PSEUDO_COUNTS_DELTAZ

redshift interval size

 

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 “lnMcut-fit” property

  “lnMcut-fit”               gboolean

FIXME

Flags: Read / Write

Default value: FALSE


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


The “zmin-fit” property

  “zmin-fit”                 gboolean

z_{min}:fit.

Flags: Read / Write

Default value: FALSE