NcDataClusterNCountsGauss

NcDataClusterNCountsGauss — Cluster number count data gaussian likelihood.

Functions

Properties

NcClusterAbundance * cluster-abundance Read / Write / Construct
gboolean fix-cov Read / Write
gboolean has-ssc Read / Write
NcmVector * lnM-obs Read / Write
NcmMatrix * lnM-obs-params Read / Write
NcmMatrix * resample-s-matrix Read / Write
NcmMatrix * s-matrix Read / Write
NcmVector * z-obs Read / Write
NcmMatrix * z-obs-params Read / Write

Object Hierarchy

    GObject
    ╰── NcmData
        ╰── NcmDataGaussCov
            ╰── NcDataClusterNCountsGauss

Description

NcDataClusterNCountsGauss is a NcmDataGaussCov that implements the gaussian likelihood for the cluster number count data.

Functions

nc_data_cluster_ncounts_gauss_new ()

NcDataClusterNCountsGauss *
nc_data_cluster_ncounts_gauss_new (NcClusterAbundance *cad);

Creates a new NcDataClusterNCountsGauss.

Parameters

Returns

NcDataClusterNCountsGauss


nc_data_cluster_ncounts_gauss_free ()

void
nc_data_cluster_ncounts_gauss_free (NcDataClusterNCountsGauss *ncounts_gauss);

Decreases the reference count of the NcDataClusterNCountsGauss. If the reference count reaches zero, the NcDataClusterNCountsGauss is freed.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

nc_data_cluster_ncounts_gauss_set_z_obs ()

void
nc_data_cluster_ncounts_gauss_set_z_obs
                               (NcDataClusterNCountsGauss *ncounts_gauss,
                                NcmVector *z_obs);

Sets array of NcmVector's representing the lower and upper bounds of each bin.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

z_obs

a NcmVector

 

nc_data_cluster_ncounts_gauss_set_z_obs_params ()

void
nc_data_cluster_ncounts_gauss_set_z_obs_params
                               (NcDataClusterNCountsGauss *ncounts_gauss,
                                NcmMatrix *z_obs_params);

Sets array of NcmVector's representing the params of each bin.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

z_obs_params

a NcmMatrix

 

nc_data_cluster_ncounts_gauss_set_lnM_obs ()

void
nc_data_cluster_ncounts_gauss_set_lnM_obs
                               (NcDataClusterNCountsGauss *ncounts_gauss,
                                NcmVector *lnM_obs);

Sets array of NcmVector's representing the lower and upper bounds of each bin.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

lnM_obs

a NcmVector

 

nc_data_cluster_ncounts_gauss_set_lnM_obs_params ()

void
nc_data_cluster_ncounts_gauss_set_lnM_obs_params
                               (NcDataClusterNCountsGauss *ncounts_gauss,
                                NcmMatrix *lnM_obs_params);

Sets array of NcmVector's representing the params of each bin.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

lnM_obs_params

a NcmMatrix

 

nc_data_cluster_ncounts_gauss_set_has_ssc ()

void
nc_data_cluster_ncounts_gauss_set_has_ssc
                               (NcDataClusterNCountsGauss *ncounts_gauss,
                                gboolean on);

Sets array of Set if the data has super sample covariance.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

on

Whether the data has super sample covariance.

 

nc_data_cluster_ncounts_gauss_set_s_matrix ()

void
nc_data_cluster_ncounts_gauss_set_s_matrix
                               (NcDataClusterNCountsGauss *ncounts_gauss,
                                NcmMatrix *s_matrix);

Sets a NcmMatrix representing the super sample covariance effect in each bin.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

s_matrix

a NcmMatrix

 

nc_data_cluster_ncounts_gauss_set_resample_s_matrix ()

void
nc_data_cluster_ncounts_gauss_set_resample_s_matrix
                               (NcDataClusterNCountsGauss *ncounts_gauss,
                                NcmMatrix *s_matrix);

Sets a NcmMatrix representing the super sample covariance effect in each bin. This matrix will be used only during resampling and it is used to test misspecification of the covariance matrix.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

s_matrix

a NcmMatrix

 

nc_data_cluster_ncounts_gauss_set_fix_cov ()

void
nc_data_cluster_ncounts_gauss_set_fix_cov
                               (NcDataClusterNCountsGauss *ncounts_gauss,
                                gboolean on);

Sets array of Set if the data covariance matrix is fixed.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

on

Whether the covariance matrix is fixed or not.

 

nc_data_cluster_ncounts_gauss_get_z_obs ()

NcmVector *
nc_data_cluster_ncounts_gauss_get_z_obs
                               (NcDataClusterNCountsGauss *ncounts_gauss);

Gets the matrix containing the redshift observables.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

Returns

Redshift observable NcmVector.

[transfer full]


nc_data_cluster_ncounts_gauss_get_z_obs_params ()

NcmMatrix *
nc_data_cluster_ncounts_gauss_get_z_obs_params
                               (NcDataClusterNCountsGauss *ncounts_gauss);

Gets the matrix containing the redshift observables parameters.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

Returns

Redshift observable parameters NcmMatrix.

[transfer full]


nc_data_cluster_ncounts_gauss_get_lnM_obs ()

NcmVector *
nc_data_cluster_ncounts_gauss_get_lnM_obs
                               (NcDataClusterNCountsGauss *ncounts_gauss);

Gets the matrix containing the mass observables.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

Returns

Mass observable NcmMatrix.

[transfer full]


nc_data_cluster_ncounts_gauss_get_lnM_obs_params ()

NcmMatrix *
nc_data_cluster_ncounts_gauss_get_lnM_obs_params
                               (NcDataClusterNCountsGauss *ncounts_gauss);

Gets the matrix containing the mass observables parameters.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

Returns

Mass observable parameters NcmMatrix.

[transfer full]


nc_data_cluster_ncounts_gauss_get_s_matrix ()

NcmMatrix *
nc_data_cluster_ncounts_gauss_get_s_matrix
                               (NcDataClusterNCountsGauss *ncounts_gauss);

Gets the matrix containing the super sample covariance.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

Returns

Super sample covariance NcmMatrix.

[transfer full]


nc_data_cluster_ncounts_gauss_get_resample_s_matrix ()

NcmMatrix *
nc_data_cluster_ncounts_gauss_get_resample_s_matrix
                               (NcDataClusterNCountsGauss *ncounts_gauss);

Gets the matrix containing the super sample covariance. This matrix will be used only during resampling and it is used to test misspecification of the covariance matrix.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

Returns

Super sample covariance NcmMatrix used to resample.

[transfer full]


nc_data_cluster_ncounts_gauss_get_has_ssc ()

gboolean
nc_data_cluster_ncounts_gauss_get_has_ssc
                               (NcDataClusterNCountsGauss *ncounts_gauss);

Gets if the ssc option is on.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

Returns

TRUE or FALSE.


nc_data_cluster_ncounts_gauss_get_fix_cov ()

gboolean
nc_data_cluster_ncounts_gauss_get_fix_cov
                               (NcDataClusterNCountsGauss *ncounts_gauss);

Gets if the covariance is fixed.

Parameters

ncounts_gauss

a NcDataClusterNCountsGauss

 

Returns

TRUE or FALSE.

Property Details

The “cluster-abundance” property

  “cluster-abundance”        NcClusterAbundance *

Cluster abundance.

Owner: NcDataClusterNCountsGauss

Flags: Read / Write / Construct


The “fix-cov” property

  “fix-cov”                  gboolean

Whether the covariance matrix is fixed or not.

Owner: NcDataClusterNCountsGauss

Flags: Read / Write

Default value: FALSE


The “has-ssc” property

  “has-ssc”                  gboolean

Whether use super sample covariance.

Owner: NcDataClusterNCountsGauss

Flags: Read / Write

Default value: FALSE


The “lnM-obs” property

  “lnM-obs”                  NcmVector *

Clusters mass observables.

Owner: NcDataClusterNCountsGauss

Flags: Read / Write


The “lnM-obs-params” property

  “lnM-obs-params”           NcmMatrix *

Clusters mass observables parameters.

Owner: NcDataClusterNCountsGauss

Flags: Read / Write


The “resample-s-matrix” property

  “resample-s-matrix”        NcmMatrix *

Super sample covariance resample matrix.

Owner: NcDataClusterNCountsGauss

Flags: Read / Write


The “s-matrix” property

  “s-matrix”                 NcmMatrix *

Super sample covariance matrix.

Owner: NcDataClusterNCountsGauss

Flags: Read / Write


The “z-obs” property

  “z-obs”                    NcmVector *

Clusters redshift observables.

Owner: NcDataClusterNCountsGauss

Flags: Read / Write


The “z-obs-params” property

  “z-obs-params”             NcmMatrix *

Clusters redshift observables parameters.

Owner: NcDataClusterNCountsGauss

Flags: Read / Write