Constructor

NumCosmoDataSNIACovnew

Declaration [src]

NcDataSNIACov*
nc_data_snia_cov_new (
  gboolean use_norma,
  guint cat_version
)

Description [src]

Creates a new empty NcDataSNIACov object. If use_norma is true the object will use the correct Likelihood normalization when calculating $-2\ln(L)$.

cat_version indicates the data format used by the likelihood.

Parameters

use_norma

Type: gboolean

Whether to use the correct Likelihood normalization.

cat_version

Type: guint

Catalog version.

Return value

Type: NcDataSNIACov

The newly created instance of NcDataSNIACov.

The caller of the function takes ownership of the data, and is responsible for freeing it.