Click or drag to resize

BlockScalingCorrection2DExecuteForPrediction Method

Processes the spectra for prediction. For prediction it is necessary to use the auxiliary data previously evaluated by Execute(Double, MatrixDouble, Int32), in order to apply the same treatment to the spectra.

Namespace: Altaxo.Science.Spectroscopy.EnsembleProcessing
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public (double[] , Matrix<double> y, int[] ) ExecuteForPrediction(
	double[] x,
	Matrix<double> y,
	int[]? regions,
	IEnsembleProcessingAuxiliaryData? auxiliaryData
)

Parameters

x  Double
The x-values of the spectra.
y  MatrixDouble
The matrix of spectra. Each row of the matrix represents a spectrum.
regions  Int32
Vector of spectral regions. Each element is the index of the start of a new region.
auxiliaryData  IEnsembleProcessingAuxiliaryData
The auxiliary data previously evaluated by the ensemble preprocessing.

Return Value

ValueTupleDouble, MatrixDouble, Int32
X-values, y-values, and regions of the processed spectra for prediction.

Implements

IEnsemblePreprocessorExecuteForPrediction(Double, MatrixDouble, Int32, IEnsembleProcessingAuxiliaryData)
ISingleSpectrumPreprocessorExecuteForPrediction(Double, MatrixDouble, Int32, IEnsembleProcessingAuxiliaryData)
Exceptions
ExceptionCondition
NotImplementedExceptionThrown in all cases, as this method is not yet implemented.
See Also