Constructor

NumCosmoDataSNIACovnew_from_cat_id

Declaration [src]

NcDataSNIACov*
nc_data_snia_cov_new_from_cat_id (
  NcDataSNIAId id,
  gboolean use_norma
)

Description [src]

Creates a new NcDataSNIACov using the catalog from id.

Parameters

id

Type: NcDataSNIAId

Catalog id.

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.