Constructor

NumCosmoDataPlanckLKLnew

Declaration [src]

NcDataPlanckLKL*
nc_data_planck_lkl_new (
  const gchar* filename
)

Description [src]

Creates a new NcDataPlanckLKL object from a Planck likelihood data file. This loads the likelihood data using the Planck likelihood code library.

Parameters

filename

Type: const gchar*

A Planck likelihood file.

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

Return value

Type: NcDataPlanckLKL

A new NcDataPlanckLKL.

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