Constructor

NumCosmoDataPlanckCommandernew

Declaration [src]

NcDataPlanckCommander*
nc_data_planck_commander_new (
  guint lmin,
  guint lmax,
  guint nbin,
  guint delta_l,
  NcmVector* cl2x_xa,
  NcmVector* cl2x_ya,
  NcmVector* cl2x_y2a,
  NcmVector* mu,
  NcmMatrix* cov,
  NcmVector* mu_sigma
)

Description [src]

Builds a fully-specified NcDataPlanckCommander (calibration defaults to A_planck). The theory $C_\ell$ source is set separately.

Parameters

lmin

Type: guint

Lowest multipole.

lmax

Type: guint

Highest multipole.

nbin

Type: guint

Number of spline nodes per multipole.

delta_l

Type: guint

Covariance band-limit width.

cl2x_xa

Type: NcmVector

Per-ell spline Dl abscissa (flattened nl*nbin).

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

Type: NcmVector

Per-ell spline x ordinate (flattened nl*nbin).

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

Type: NcmVector

Per-ell spline second derivatives (flattened nl*nbin).

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

Type: NcmVector

Gaussianized mean vector (length nl).

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

Type: NcmMatrix

Covariance matrix (nl x nl), inverted internally.

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

Type: NcmVector

Mean sigma_l defining the offset (length nl).

The data is owned by the caller of the function.

Return value

Type: NcDataPlanckCommander

The new NcDataPlanckCommander.

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