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:
guintMaximum multipole.
nbins-
Type:
guintNumber of band-power bins.
has_calib-
Type:
gbooleanWhether a calibration parameter scales the CMB renormalization.
hascl-
Type: An array of
guint326 CMB spectra flags [TT,EE,BB,TE,TB,EB].
The data is owned by the caller of the function. bins-
Type:
NcmMatrixBinning matrix (nbins x lmax+1).
The data is owned by the caller of the function. cor0-
Type:
NcmVectorPer-bin constant offset (length nbins).
The data is owned by the caller of the function. cors-
Type:
NcmMatrixRenormalization 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. |