Top |
NcDataClusterPseudoCountsNcDataClusterPseudoCounts — Galaxy clusters data -- pseudo number counts likelihood. |
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 |
GEnum ╰── NcDataClusterPseudoCountsObs GObject ╰── NcmData ╰── NcDataClusterPseudoCounts
NcDataClusterPseudoCounts *
nc_data_cluster_pseudo_counts_new (NcClusterAbundance *cad
);
Creates a new NcDataClusterPseudoCounts.
NcDataClusterPseudoCounts *
nc_data_cluster_pseudo_counts_new_from_file
(const gchar *filename
);
Creates a new NcDataClusterPseudoCounts from filename
.
NcDataClusterPseudoCounts *
nc_data_cluster_pseudo_counts_ref (NcDataClusterPseudoCounts *dcpc
);
Increases the reference count of dcpc
by one.
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.
void
nc_data_cluster_pseudo_counts_clear (NcDataClusterPseudoCounts **dcpc
);
The reference count of dcpc
is decreased and the pointer is set to NULL.
void nc_data_cluster_pseudo_counts_set_cad (NcDataClusterPseudoCounts *dcpc
,NcClusterAbundance *cad
);
Sets the NcClusterAbundance object cad
to be used.
void nc_data_cluster_pseudo_counts_set_nclusters (NcDataClusterPseudoCounts *dcpc
,guint np
);
Sets np
representing the total number of clusters.
guint
nc_data_cluster_pseudo_counts_get_nclusters
(NcDataClusterPseudoCounts *dcpc
);
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.
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).
void nc_data_cluster_pseudo_counts_init_from_sampling (NcDataClusterPseudoCounts *dcpc
,NcmMSet *mset
,NcmRNG *rng
,const gint np
);
FIXME
“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
“cluster-abundance”
property“cluster-abundance” NcClusterAbundance *
Cluster abundance.
Owner: NcDataClusterPseudoCounts
Flags: Read / Write / Construct
“np”
property “np” guint
Number of clusters.
Owner: NcDataClusterPseudoCounts
Flags: Read / Write / Construct
Default value: 0
“obs”
property“obs” NcmMatrix *
Cluster observables.
Owner: NcDataClusterPseudoCounts
Flags: Read / Write
“true-data”
property“true-data” NcmMatrix *
Cluster (halo) true data (redshift and mass).
Owner: NcDataClusterPseudoCounts
Flags: Read / Write