NcDataClusterPseudoCounts

NcDataClusterPseudoCounts — Galaxy clusters data -- pseudo number counts likelihood.

Functions

Properties

gboolean M-z-flat-prior Read / Write / Construct
NcClusterAbundance * cluster-abundance Read / Write / Construct
guint np Read / Write / Construct
NcmMatrix * obs Read / Write
NcmMatrix * true-data Read / Write

Types and Values

Object Hierarchy

    GEnum
    ╰── NcDataClusterPseudoCountsObs
    GObject
    ╰── NcmData
        ╰── NcDataClusterPseudoCounts

Description

FIXME

Functions

nc_data_cluster_pseudo_counts_new ()

NcDataClusterPseudoCounts *
nc_data_cluster_pseudo_counts_new (NcClusterAbundance *cad);

Creates a new NcDataClusterPseudoCounts.

Parameters

Returns

the newly created NcDataClusterPseudoCounts.


nc_data_cluster_pseudo_counts_new_from_file ()

NcDataClusterPseudoCounts *
nc_data_cluster_pseudo_counts_new_from_file
                               (const gchar *filename);

Creates a new NcDataClusterPseudoCounts from filename .

Parameters

filename

file containing a serialized NcDataClusterPseudoCounts

 

Returns

the newly created NcDataClusterPseudoCounts.

[transfer full]


nc_data_cluster_pseudo_counts_ref ()

NcDataClusterPseudoCounts *
nc_data_cluster_pseudo_counts_ref (NcDataClusterPseudoCounts *dcpc);

Increases the reference count of dcpc by one.

Parameters

Returns

dcpc .

[transfer full]


nc_data_cluster_pseudo_counts_free ()

void
nc_data_cluster_pseudo_counts_free (NcDataClusterPseudoCounts *dcpc);

Atomically decrements the reference count of dcpc by one. If the reference count drops to 0, all memory allocated by dcpc is released.

Parameters


nc_data_cluster_pseudo_counts_clear ()

void
nc_data_cluster_pseudo_counts_clear (NcDataClusterPseudoCounts **dcpc);

The reference count of dcpc is decreased and the pointer is set to NULL.

Parameters


nc_data_cluster_pseudo_counts_set_cad ()

void
nc_data_cluster_pseudo_counts_set_cad (NcDataClusterPseudoCounts *dcpc,
                                       NcClusterAbundance *cad);

Sets the NcClusterAbundance object cad to be used.

Parameters


nc_data_cluster_pseudo_counts_set_nclusters ()

void
nc_data_cluster_pseudo_counts_set_nclusters
                               (NcDataClusterPseudoCounts *dcpc,
                                guint np);

Sets np representing the total number of clusters.

Parameters

dcpc

a NcDataClusterPseudoCounts

 

np

number of clusters

 

nc_data_cluster_pseudo_counts_get_nclusters ()

guint
nc_data_cluster_pseudo_counts_get_nclusters
                               (NcDataClusterPseudoCounts *dcpc);

Parameters

Returns

the number of clusters


nc_data_cluster_pseudo_counts_set_obs ()

void
nc_data_cluster_pseudo_counts_set_obs (NcDataClusterPseudoCounts *dcpc,
                                       const NcmMatrix *m);

Sets the matrix m representing the cluster observables, e.g., observed redshift and mass(es) and the parameters of the redshift and/or mass-observable distributions.

The function nc_data_cluster_pseudo_counts_set_nclusters must be called before this one.

Parameters


nc_data_cluster_pseudo_counts_set_true_data ()

void
nc_data_cluster_pseudo_counts_set_true_data
                               (NcDataClusterPseudoCounts *dcpc,
                                const NcmMatrix *m);

Sets the matrix m representing the cluster (halo) true data, i.e., true redshift and mass(es).

Parameters


nc_data_cluster_pseudo_counts_init_from_sampling ()

void
nc_data_cluster_pseudo_counts_init_from_sampling
                               (NcDataClusterPseudoCounts *dcpc,
                                NcmMSet *mset,
                                NcmRNG *rng,
                                const gint np);

FIXME

Parameters

dcpc

a NcDataClusterPseudoCounts

 

mset

a NcmMSet

 

rng

a NcmRNG

 

np

number of clusters

 

Types and Values

enum NcDataClusterPseudoCountsObs

Members

NC_DATA_CLUSTER_PSEUDO_COUNTS_Z

redshift

 

NC_DATA_CLUSTER_PSEUDO_COUNTS_MPL

Planck cluster mass

 

NC_DATA_CLUSTER_PSEUDO_COUNTS_MCL

CLASH cluster mass

 

NC_DATA_CLUSTER_PSEUDO_COUNTS_SD_MPL

Planck mass error

 

NC_DATA_CLUSTER_PSEUDO_COUNTS_SD_MCL

CLASH mass error

 

NC_DATA_CLUSTER_PSEUDO_COUNTS_RESAMPLE_MAX_TRIES

#define NC_DATA_CLUSTER_PSEUDO_COUNTS_RESAMPLE_MAX_TRIES 100000

Property Details

The “M-z-flat-prior” property

  “M-z-flat-prior”           gboolean

Flat priors for halo mass and selection functions.

Owner: NcDataClusterPseudoCounts

Flags: Read / Write / Construct

Default value: FALSE


The “cluster-abundance” property

  “cluster-abundance”        NcClusterAbundance *

Cluster abundance.

Owner: NcDataClusterPseudoCounts

Flags: Read / Write / Construct


The “np” property

  “np”                       guint

Number of clusters.

Owner: NcDataClusterPseudoCounts

Flags: Read / Write / Construct

Default value: 0


The “obs” property

  “obs”                      NcmMatrix *

Cluster observables.

Owner: NcDataClusterPseudoCounts

Flags: Read / Write


The “true-data” property

  “true-data”                NcmMatrix *

Cluster (halo) true data (redshift and mass).

Owner: NcDataClusterPseudoCounts

Flags: Read / Write