Constructor

NumCosmoDataXcornew_full

Declaration [src]

NcDataXcor*
nc_data_xcor_new_full (
  const guint nobs,
  NcXcor* xc,
  gboolean use_norma
)

Description [src]

Creates a new NcDataXcor object for cross-correlation data analysis. This initializes the data structure for nobs observables using the cross-correlation object xc for theoretical predictions.

Parameters

nobs

Type: const guint

A #guint, the number of observables.

xc

Type: NcXcor

A NcXcor to perform the computation of theoretical power spectra.

The data is owned by the caller of the function.
use_norma

Type: gboolean

A #gboolean, whether to normalize the likelihood.

Return value

Type: NcDataXcor

A new NcDataXcor.

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