Top |
double | area | Read / Write |
NcmVector * | bin-count | Read / Write |
gboolean | binned | Read / Write |
NcClusterAbundance * | cluster-abundance | Read / Write / Construct |
gboolean | fiducial | Read / Write |
NcmMatrix * | lnM-obs | Read / Write |
NcmObjArray * | lnM-obs-bins | Read / Write |
NcmMatrix * | lnM-obs-params | Read / Write |
NcmVector * | lnM-true | Read / Write |
char * | mass-type | Read / Write / Construct Only |
char * | redshift-type | Read / Write / Construct Only |
char * | rng-name | Read / Write |
guint64 | rng-seed | Read / Write |
gboolean | use-true | Read / Write |
NcmMatrix * | z-obs | Read / Write |
NcmObjArray * | z-obs-bins | Read / Write |
NcmMatrix * | z-obs-params | Read / Write |
NcmVector * | z-true | Read / Write |
NcDataClusterNCount * nc_data_cluster_ncount_new (NcClusterAbundance *cad
,const gchar *redshift_type
,const gchar *mass_type
);
Creates a new NcDataClusterNCount object.
NcDataClusterNCount *
nc_data_cluster_ncount_ref (NcDataClusterNCount *ncount
);
Increases the reference count of the NcDataClusterNCount.
void
nc_data_cluster_ncount_free (NcDataClusterNCount *ncount
);
Decreases the reference count of the NcDataClusterNCount. If the reference count reaches zero, the NcDataClusterNCount is freed.
void
nc_data_cluster_ncount_clear (NcDataClusterNCount **ncount
);
If *ncount
is not NULL
, decreases the reference count of the NcDataClusterNCount.
If the reference count reaches zero, the NcDataClusterNCount is freed.
Sets the *ncount
to NULL
.
void nc_data_cluster_ncount_set_lnM_true (NcDataClusterNCount *ncount
,const NcmVector *v
);
Sets the vector v
containing the values of the clusters true masses.
void nc_data_cluster_ncount_set_z_true (NcDataClusterNCount *ncount
,const NcmVector *v
);
Sets the vector v
containing the true redshift values of the clusters.
void nc_data_cluster_ncount_set_lnM_obs (NcDataClusterNCount *ncount
,const NcmMatrix *m
);
Sets the matrix m
representing the cluster mass observables.
void nc_data_cluster_ncount_set_lnM_obs_params (NcDataClusterNCount *ncount
,const NcmMatrix *m
);
Sets the matrix m
representing the cluster mass-observable parameters.
void nc_data_cluster_ncount_set_z_obs (NcDataClusterNCount *ncount
,const NcmMatrix *m
);
Sets the matrix m
representing the cluster redshift observables.
void nc_data_cluster_ncount_set_z_obs_params (NcDataClusterNCount *ncount
,const NcmMatrix *m
);
Sets the matrix m
representing the cluster redshift observable parameters.
void nc_data_cluster_ncount_set_lnM_obs_bins (NcDataClusterNCount *ncount
,NcmObjArray *lnM_obs_bins
);
Sets array of NcmVector's representing the lower and upper bounds of each bin.
void nc_data_cluster_ncount_set_z_obs_bins (NcDataClusterNCount *ncount
,NcmObjArray *z_obs_bins
);
Sets array of NcmVector's representing the lower and upper bounds of each bin.
void nc_data_cluster_ncount_set_bin_count (NcDataClusterNCount *ncount
,NcmVector *bin_count
);
Sets vector containing the bin counts.
gboolean
nc_data_cluster_ncount_has_lnM_true (NcDataClusterNCount *ncount
);
gboolean
nc_data_cluster_ncount_has_z_true (NcDataClusterNCount *ncount
);
guint
nc_data_cluster_ncount_get_len (NcDataClusterNCount *ncount
);
Gets the total number of objects.
guint
nc_data_cluster_ncount_lnM_obs_len (NcDataClusterNCount *ncount
);
Number of doubles to describe the observational data related to the mass of each object.
guint
nc_data_cluster_ncount_lnM_obs_params_len
(NcDataClusterNCount *ncount
);
Number of doubles to describe the observational data parameters related mass to each object.
guint
nc_data_cluster_ncount_z_obs_len (NcDataClusterNCount *ncount
);
Number of doubles to describe the observational data related to the redshift of each object.
guint
nc_data_cluster_ncount_z_obs_params_len
(NcDataClusterNCount *ncount
);
NcmVector *
nc_data_cluster_ncount_get_lnM_true (NcDataClusterNCount *ncount
);
Gets the vector containing the true values of the masses.
NcmVector *
nc_data_cluster_ncount_get_z_true (NcDataClusterNCount *ncount
);
Gets the vector containing the true values of the redshifts.
NcmMatrix *
nc_data_cluster_ncount_get_lnM_obs (NcDataClusterNCount *ncount
);
Gets the matrix containing the mass observables.
NcmMatrix *
nc_data_cluster_ncount_get_lnM_obs_params
(NcDataClusterNCount *ncount
);
Gets the matrix containing the mass observables parameters.
NcmMatrix *
nc_data_cluster_ncount_get_z_obs (NcDataClusterNCount *ncount
);
Gets the matrix containing the redshift observables.
NcmMatrix *
nc_data_cluster_ncount_get_z_obs_params
(NcDataClusterNCount *ncount
);
Gets the matrix containing the redshift observables parameters.
void nc_data_cluster_ncount_true_data (NcDataClusterNCount *ncount
,gboolean use_true_data
);
Sets whether to use the true data or not.
gboolean
nc_data_cluster_ncount_using_true_data
(NcDataClusterNCount *ncount
);
void nc_data_cluster_ncount_init_from_sampling (NcDataClusterNCount *ncount
,NcmMSet *mset
,gdouble area_survey
,NcmRNG *rng
);
Initialize ncount
from a sampling using mset
as the fiducial model.
The area of the survey is area_survey
in units of square degrees.
The random number generator rng
is used to sample the data.
void nc_data_cluster_ncount_add_bin (NcDataClusterNCount *ncount
,NcmVector *lnM_obs_lb
,NcmVector *lnM_obs_ub
,NcmVector *z_obs_lb
,NcmVector *z_obs_ub
);
Adds a new bin using the lower and upper bounds defined in
(lnM_obs_lb
, lnM_obs_ub
), (z_obs_lb
z_obs_ub
).
void
nc_data_cluster_ncount_del_bins (NcDataClusterNCount *ncount
);
Remove all bins in ncount
.
void nc_data_cluster_ncount_set_binned (NcDataClusterNCount *ncount
,gboolean on
);
Sets whether to use binned data or not.
void
nc_data_cluster_ncount_bin_data (NcDataClusterNCount *ncount
);
Bin the current data present in ncount
. The bins must
be already set.
void nc_data_cluster_ncount_catalog_save (NcDataClusterNCount *ncount
,gchar *filename
,gboolean overwrite
);
Saves the current data present in ncount
to a FITS file.
void nc_data_cluster_ncount_catalog_load (NcDataClusterNCount *ncount
,gchar *filename
);
Loads the data present in filename
to ncount
.
“area”
property “area” double
Cluster observation area.
Owner: NcDataClusterNCount
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“bin-count”
property“bin-count” NcmVector *
Bin count.
Owner: NcDataClusterNCount
Flags: Read / Write
“binned”
property “binned” gboolean
Whether use binned data.
Owner: NcDataClusterNCount
Flags: Read / Write
Default value: FALSE
“cluster-abundance”
property“cluster-abundance” NcClusterAbundance *
Cluster abundance.
Owner: NcDataClusterNCount
Flags: Read / Write / Construct
“fiducial”
property “fiducial” gboolean
If it is fiducial data.
Owner: NcDataClusterNCount
Flags: Read / Write
Default value: FALSE
“lnM-obs”
property“lnM-obs” NcmMatrix *
Clusters mass observables.
Owner: NcDataClusterNCount
Flags: Read / Write
“lnM-obs-bins”
property“lnM-obs-bins” NcmObjArray *
Clusters mass bins.
Owner: NcDataClusterNCount
Flags: Read / Write
“lnM-obs-params”
property“lnM-obs-params” NcmMatrix *
Clusters mass observables parameters.
Owner: NcDataClusterNCount
Flags: Read / Write
“lnM-true”
property“lnM-true” NcmVector *
Clusters true masses.
Owner: NcDataClusterNCount
Flags: Read / Write
“mass-type”
property “mass-type” char *
Cluster mass proxy type.
Owner: NcDataClusterNCount
Flags: Read / Write / Construct Only
Default value: "NcClusterMass"
“redshift-type”
property “redshift-type” char *
Cluster redshift proxy type.
Owner: NcDataClusterNCount
Flags: Read / Write / Construct Only
Default value: "NcClusterRedshift"
“rng-name”
property “rng-name” char *
Random number generator name.
Owner: NcDataClusterNCount
Flags: Read / Write
Default value: NULL
“rng-seed”
property “rng-seed” guint64
Random number generator seed.
Owner: NcDataClusterNCount
Flags: Read / Write
Default value: 0
“use-true”
property “use-true” gboolean
If the true data must be used.
Owner: NcDataClusterNCount
Flags: Read / Write
Default value: FALSE
“z-obs”
property“z-obs” NcmMatrix *
Clusters redshift observables.
Owner: NcDataClusterNCount
Flags: Read / Write
“z-obs-bins”
property“z-obs-bins” NcmObjArray *
Clusters redshifts bins.
Owner: NcDataClusterNCount
Flags: Read / Write
“z-obs-params”
property“z-obs-params” NcmMatrix *
Clusters redshift observables parameters.
Owner: NcDataClusterNCount
Flags: Read / Write
“z-true”
property“z-true” NcmVector *
Clusters true redshifts.
Owner: NcDataClusterNCount
Flags: Read / Write