Constructor

NumCosmoDataPlanckLensingnew

Declaration [src]

NcDataPlanckLensing*
nc_data_planck_lensing_new (
  guint lmax,
  guint nbins,
  gboolean has_calib,
  GArray* hascl,
  NcmMatrix* bins,
  NcmVector* cor0,
  NcmMatrix* cors
)

Description [src]

Builds a fully-specified NcDataPlanckLensing. The observed band-powers and inverse covariance are set through the NcmDataGauss “mean” and “inv-cov” properties; the theory $C_\ell$ source is set separately.

Parameters

lmax

Type: guint

Maximum multipole.

nbins

Type: guint

Number of band-power bins.

has_calib

Type: gboolean

Whether a calibration parameter scales the CMB renormalization.

hascl

Type: An array of guint32

6 CMB spectra flags [TT,EE,BB,TE,TB,EB].

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

Type: NcmMatrix

Binning matrix (nbins x lmax+1).

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

Type: NcmVector

Per-bin constant offset (length nbins).

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

Type: NcmMatrix

Renormalization response (nbins x nlt), or NULL.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: NcDataPlanckLensing

The new NcDataPlanckLensing.

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