Constructor

NumCosmoDataPlanckLKLfull_new

Declaration [src]

NcDataPlanckLKL*
nc_data_planck_lkl_full_new (
  const gchar* filename,
  NcHIPertBoltzmann* pb
)

Description [src]

Creates a new NcDataPlanckLKL object with a specified Boltzmann code. This initializes the likelihood using the provided perturbation/Boltzmann solver pb for computing the theoretical power spectra.

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.
pb

Type: NcHIPertBoltzmann

A NcHIPertBoltzmann.

The data is owned by the caller of the function.

Return value

Type: NcDataPlanckLKL

A new NcDataPlanckLKL.

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