NcABCClusterNCount

NcABCClusterNCount — Object implementing Approximate Bayesian Computation (ABC) for cluster number counts.

Functions

Properties

double epsilon-update Read / Write / Construct
NcABCClusterNCountEpsilonUpdate epsilon-update-type Read / Write / Construct
guint lnM-bins Read / Write / Construct
NcmVector * lnM-nodes Read / Write / Construct
NcmVector * quantiles Read / Write / Construct
double rbf-scale Read / Write / Construct
gboolean scale-cov Read / Write / Construct
NcABCClusterNCountSummary summary-type Read / Write
guint z-bins Read / Write / Construct
NcmVector * z-nodes Read / Write / Construct

Types and Values

Object Hierarchy

    GEnum
    ├── NcABCClusterNCountEpsilonUpdate
    ╰── NcABCClusterNCountSummary
    GObject
    ╰── NcmABC
        ╰── NcABCClusterNCount

Description

FIXME

Functions

nc_abc_cluster_ncount_new ()

NcABCClusterNCount *
nc_abc_cluster_ncount_new (NcmMSet *mset,
                           NcmMSetTransKern *prior,
                           NcmDataset *dset);

Creates a new NcABCClusterNCount.

Parameters

mset

a NcmMSet.

 

prior

a NcmMSetTransKern.

 

dset

a NcmDataset.

 

Returns

a new NcABCClusterNCount.

[transfer full]


nc_abc_cluster_ncount_set_scale_cov ()

void
nc_abc_cluster_ncount_set_scale_cov (NcABCClusterNCount *abcnc,
                                     gboolean on);

FIXME

Parameters

abcnc

a NcABCClusterNCount.

 

on

whether sets on or off covariance scaling.

 

nc_abc_cluster_ncount_set_epsilon_update ()

void
nc_abc_cluster_ncount_set_epsilon_update
                               (NcABCClusterNCount *abcnc,
                                gdouble q);

Sets the quantile used to update epsilon.

Parameters

abcnc

a NcABCClusterNCount.

 

q

the quantile $q \in (0, 1)$.

 

nc_abc_cluster_ncount_set_bin_uniform ()

void
nc_abc_cluster_ncount_set_bin_uniform (NcABCClusterNCount *abcnc,
                                       guint z_bins,
                                       guint lnM_bins);

Sets the binning type to NC_ABC_CLUSTER_NCOUNT_SUMMARY_BIN_UNIFORM.

Parameters

abcnc

a NcABCClusterNCount.

 

z_bins

number of bins in z.

 

lnM_bins

number of bins in lnM.

 

nc_abc_cluster_ncount_set_bin_quantile ()

void
nc_abc_cluster_ncount_set_bin_quantile
                               (NcABCClusterNCount *abcnc,
                                NcmVector *quantiles);

Sets the binning type to NC_ABC_CLUSTER_NCOUNT_SUMMARY_BIN_QUANTILE and uses quantiles as the quantiles for both z and lnM. If quantiles is NULL uses the defaults: (0.02, 0.09, 0.25, 0.5, 0.75, 0.91, 0.98).

Parameters

abcnc

a NcABCClusterNCount.

 

quantiles

a NcmVector or NULL.

[allow-none]

nc_abc_cluster_ncount_set_bin_nodes ()

void
nc_abc_cluster_ncount_set_bin_nodes (NcABCClusterNCount *abcnc,
                                     NcmVector *z_nodes,
                                     NcmVector *lnM_nodes);

Sets the binning type to NC_ABC_CLUSTER_NCOUNT_SUMMARY_BIN_NODES and uses z_nodes and lnM_nodes as nodes for binning.

Parameters

abcnc

a NcABCClusterNCount.

 

z_nodes

a NcmVector.

 

lnM_nodes

a NcmVector.

 

Types and Values

NC_TYPE_ABC_CLUSTER_NCOUNT

#define NC_TYPE_ABC_CLUSTER_NCOUNT (nc_abc_cluster_ncount_get_type ())

enum NcABCClusterNCountSummary

FIXME

Members

NC_ABC_CLUSTER_NCOUNT_SUMMARY_BIN_UNIFORM

FIXME

 

NC_ABC_CLUSTER_NCOUNT_SUMMARY_BIN_QUANTILE

FIXME

 

NC_ABC_CLUSTER_NCOUNT_SUMMARY_BIN_NODES

FIXME

 

NC_ABC_CLUSTER_NCOUNT_SUMMARY_GAUSS_RBF

FIXME

 

enum NcABCClusterNCountEpsilonUpdate

FIXME

Members

NC_ABC_CLUSTER_NCOUNT_EPSILON_UPDATE_UNIFORM

FIXME

 

NC_ABC_CLUSTER_NCOUNT_EPSILON_UPDATE_QUANTILE

FIXME

 

NcABCClusterNCount

typedef struct _NcABCClusterNCount NcABCClusterNCount;

Property Details

The “epsilon-update” property

  “epsilon-update”           double

Value used to update epsilon.

Owner: NcABCClusterNCount

Flags: Read / Write / Construct

Allowed values: [0,1]

Default value: 0.75


The “epsilon-update-type” property

  “epsilon-update-type”      NcABCClusterNCountEpsilonUpdate

Method used to update epsilon.

Owner: NcABCClusterNCount

Flags: Read / Write / Construct

Default value: NC_ABC_CLUSTER_NCOUNT_EPSILON_UPDATE_QUANTILE


The “lnM-bins” property

  “lnM-bins”                 guint

Number of bins in lnM.

Owner: NcABCClusterNCount

Flags: Read / Write / Construct

Allowed values: >= 1

Default value: 5


The “lnM-nodes” property

  “lnM-nodes”                NcmVector *

Nodes for lnM.

Owner: NcABCClusterNCount

Flags: Read / Write / Construct


The “quantiles” property

  “quantiles”                NcmVector *

Quantiles for binning.

Owner: NcABCClusterNCount

Flags: Read / Write / Construct


The “rbf-scale” property

  “rbf-scale”                double

Scale for RBF interpolation.

Owner: NcABCClusterNCount

Flags: Read / Write / Construct

Allowed values: [1e-06,1000]

Default value: 0.2


The “scale-cov” property

  “scale-cov”                gboolean

Scaled covariance.

Owner: NcABCClusterNCount

Flags: Read / Write / Construct

Default value: TRUE


The “summary-type” property

  “summary-type”             NcABCClusterNCountSummary

Summary type.

Owner: NcABCClusterNCount

Flags: Read / Write

Default value: NC_ABC_CLUSTER_NCOUNT_SUMMARY_BIN_UNIFORM


The “z-bins” property

  “z-bins”                   guint

Number of bins in z.

Owner: NcABCClusterNCount

Flags: Read / Write / Construct

Allowed values: >= 1

Default value: 5


The “z-nodes” property

  “z-nodes”                  NcmVector *

Nodes for z.

Owner: NcABCClusterNCount

Flags: Read / Write / Construct