Class

NumCosmoMathDataset

Description [src]

final class NumCosmoMath.Dataset : GObject.Object
{
  /* No available fields */
}

A set of NcmData objects.

The purpose of this class is to define a collection of NcmData objects. These objects serve as containers for NcmData intended for use within the NumCosmo library. Each individual NcmData object is responsible for defining a distinct data likelihood function. It is essential to note that all NcmData objects are designed to be entirely statistically independent of each other.

Ancestors

Constructors

ncm_dataset_new

Creates a new empty NcmDataset object.

ncm_dataset_new_array

Creates a new NcmDataset object and adds len NcmData from data_array.

ncm_dataset_new_list

Creates a new NcmDataset object and adds a NULL ended list of NcmData.

Functions

ncm_dataset_clear

Decreases the reference count of dset by one, and sets dset to NULL.

Instance methods

ncm_dataset_all_init

Checks whenever all NcmData in dset are initiated.

ncm_dataset_append_data

Appends data to dset.

ncm_dataset_bootstrap_resample

Perform one bootstrap as in ncm_data_bootstrap_resample() in every NcmData in dset.

ncm_dataset_bootstrap_set

Disable or sets bootstrap method for dset.

ncm_dataset_copy

Duplicates the object getting a reference of its content.

ncm_dataset_dup

Duplicates the object and all of its content.

ncm_dataset_fisher_matrix

Calculates the Fisher-information matrix I adding the individual ones from each NcmData in dset. If the NcmMatrix pointer in IM is NULL a new NcmMatrix will be allocated otherwise IM will be used.

ncm_dataset_fisher_matrix_bias

Calculates the Fisher-information matrix IM and and the bias vector delta_theta adding the individual ones from each NcmData in dset.

ncm_dataset_free

Decreases the reference count of dset by one.

ncm_dataset_get_data

Gets the n-th NcmData in dset and increases its reference count by one.

ncm_dataset_get_data_array

Gets the NcmObjArray from dset.

ncm_dataset_get_dof

Calculate the total degrees of freedom associated with all NcmData objects.

ncm_dataset_get_info

Obtains the informations associated with every NcmData in dset.

ncm_dataset_get_length

Number of different NcmData in dset.

ncm_dataset_get_n

Calculates the total number of data set points.

ncm_dataset_get_ndata

Gets number of NcmData in dset.

ncm_dataset_has_leastsquares_f

Whether all the NcmData in dset have a ncm_data_leastsquares_f() method.

ncm_dataset_has_m2lnL_val

Whether all the NcmData in dset have a ncm_data_m2lnL_val() method.

ncm_dataset_has_mean_vector

Whether all the NcmData in dset have a ncm_data_mean_vector() method.

ncm_dataset_leastsquares_f
No description available.

ncm_dataset_log_info

Prints in the log the informations associated with every NcmData in dset.

ncm_dataset_m2lnL_i_val

Get the value of the i-th data in the dataset.

ncm_dataset_m2lnL_val

Computes the value of the m2lnL for the data data. The value of the m2lnL is stored in m2lnL.

ncm_dataset_m2lnL_vec

Computes the value of $-2\ln L$ for every element in the dset. The values of $-2\ln L$ are stored in the NcmVector m2lnL_v.

ncm_dataset_mean_vector

Calculates the mean vector f concatenating the individual ones from each NcmData in dset.

ncm_dataset_peek_data

Gets the n-th NcmData in dset.

ncm_dataset_peek_data_array

Gets the NcmObjArray from dset.

ncm_dataset_ref

Increases the reference count of dset by one.

ncm_dataset_resample

Resamples every NcmData in dset with the models contained in mset.

ncm_dataset_set_data_array

Sets the dset with oa.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmoMath.Dataset:bootstrap-type
No description available.

NumCosmoMath.Dataset:data-array
No description available.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct NumCosmoMathDatasetClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.