Constructor

NumCosmoXcorABnew

Declaration [src]

NcXcorAB*
nc_xcor_AB_new (
  guint a,
  guint b,
  guint ell_th_cut_off,
  guint ell_lik_min,
  guint ell_lik_max,
  const gchar* clobs_filename,
  const gchar* mixing_filename,
  const guint mixing_filelength
)

Description [src]

Creates a new NcXcorAB object for cross-correlation between observables A and B. This initializes the angular power spectrum data structures, including the observed pseudo-spectrum and mixing matrix for handling survey masks and incomplete sky coverage.

Parameters

a

Type: guint

A #guint, the index of observable $A$.

b

Type: guint

A #guint, the index of observable $B$.

ell_th_cut_off

Type: guint

A #guint, the cut-off for the computation of the theoretical full-sky angular power spectrum.

ell_lik_min

Type: guint

A #guint, the minimum multipole to be included in the likelihood.

ell_lik_max

Type: guint

A #guint, the maximum multipole to be included in the likelihood.

clobs_filename

Type: const gchar*

A #gchar, the name of the file containing the observed pseudo spectrum (should start at zero, even if not used in the likelihood).

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
mixing_filename

Type: const gchar*

A #gchar, the name of the file containing the mixing matrix.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
mixing_filelength

Type: const guint

A #guint, the size of the matrix in mixing_filename (in case it is larger than ell_th_cut_off).

Return value

Type: NcXcorAB

A new NcXcorAB.

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