Click or drag to resize

EnsembleMeanAndScaleCorrectionProcessForPrediction Method

Processes the spectra in matrix xMatrix for prediction.

Namespace: Altaxo.Science.Spectroscopy.EnsembleMeanScale
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void ProcessForPrediction(
	IMatrix<double> xMatrix,
	int[] regions,
	IReadOnlyList<double> xMean,
	IReadOnlyList<double> xScale
)

Parameters

xMatrix  IMatrixDouble
The matrix of spectra. Each spectrum is a row of the matrix.
regions  Int32
Vector of spectal regions. Each element is the index of the start of a new region.
xMean  IReadOnlyListDouble
Must be supplied, and will be subtracted from all spectra (if option set).
xScale  IReadOnlyListDouble
Must be supplied, and will be multiplied to all spectra (if option set).

Implements

IEnsembleMeanScalePreprocessorProcessForPrediction(IMatrixDouble, Int32, IReadOnlyListDouble, IReadOnlyListDouble)
See Also