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:
guintLowest multipole.
lmax-
Type:
guintHighest multipole.
nbin-
Type:
guintNumber of spline nodes per multipole.
delta_l-
Type:
guintCovariance band-limit width.
cl2x_xa-
Type:
NcmVectorPer-ell spline Dl abscissa (flattened nl*nbin).
The data is owned by the caller of the function. cl2x_ya-
Type:
NcmVectorPer-ell spline x ordinate (flattened nl*nbin).
The data is owned by the caller of the function. cl2x_y2a-
Type:
NcmVectorPer-ell spline second derivatives (flattened nl*nbin).
The data is owned by the caller of the function. mu-
Type:
NcmVectorGaussianized mean vector (length nl).
The data is owned by the caller of the function. cov-
Type:
NcmMatrixCovariance matrix (nl x nl), inverted internally.
The data is owned by the caller of the function. mu_sigma-
Type:
NcmVectorMean 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. |