Constructor

NumCosmoDataSNIACovnew_full

Declaration [src]

NcDataSNIACov*
nc_data_snia_cov_new_full (
  const gchar* filename,
  gboolean use_norma
)

Description [src]

Creates a new NcDataSNIACov object and load with the catalog in filename. If use_norma is true the object will use the correct Likelihood normalization when calculating $-2\ln(L)$.

Parameters

filename

Type: const gchar*

Catalog file name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
use_norma

Type: gboolean

Whether to use the correct Likelihood normalization.

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.