NcClusterPseudoCounts

NcClusterPseudoCounts — FIXME

Properties

gdouble Deltaz Read / Write
gboolean Deltaz-fit Read / Write
gdouble lnMcut Read / Write
gboolean lnMcut-fit Read / Write
NcMassFunction * mass-function Read / Write / Construct Only
gdouble 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  (34.862)

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 (NcMassFunction *mfp,
                              gdouble nclusters);

This function allocates memory for a new NcClusterPseudoCounts object and sets its properties to the values from the input argument.

Parameters

mfp

a NcMassFunction

 

nclusters

total number of clusters (resample)

 

Returns

A new NcClusterPseudoCounts.


nc_cluster_pseudo_counts_copy ()

NcClusterPseudoCounts *
nc_cluster_pseudo_counts_copy (NcClusterPseudoCounts *cpc);

Duplicates the NcClusterPseudoCounts object setting the same values of the original propertities.

Parameters

Returns

A new NcClusterPseudoCounts.

[transfer full]


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_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,
                               NcHICosmo *cosmo);

FIXME

Parameters

cpc

a NcClusterPseudoCounts

 

cosmo

a NcHICosmo

 

Returns

FIXME


nc_cluster_pseudo_counts_posterior_numerator ()

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

FIXME

Parameters

cpc

a NcClusterPseudoCounts

 

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,
                                NcClusterMass *clusterm,
                                NcHICosmo *cosmo,
                                const gdouble z,
                                const gdouble Mpl,
                                const gdouble Mcl,
                                const gdouble sigma_pl,
                                const gdouble sigma_cl);

FIXME

Parameters

cpc

a NcClusterPseudoCounts

 

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: 34.862


The “lnMcut-fit” property

  “lnMcut-fit”               gboolean

FIXME

Flags: Read / Write

Default value: FALSE


The “mass-function” property

  “mass-function”            NcMassFunction *

FIXME

Flags: Read / Write / Construct Only


The “number-clusters” property

  “number-clusters”          gdouble

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