MultivariateRegressionPreprocessSpectraForPrediction(IMultivariateCalibrationModel, Double, IROMatrixDouble, Double, IMatrixDouble) Method |
This will convert the raw spectra (horizontally in matrixX) to preprocessed spectra according to the calibration model.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void PreprocessSpectraForPrediction(
IMultivariateCalibrationModel calibrationModel,
double[] xOfXRaw,
IROMatrix<double> matrixXRaw,
out double[] xOfXPre,
out IMatrix<double> matrixXPre
)
Parameters
- calibrationModel IMultivariateCalibrationModel
- The calibration model containing the instructions to process the spectra.
- xOfXRaw Double
- The x-values (wavelength, frequency etc.) of the spectra (needed for preprocessing).
- matrixXRaw IROMatrixDouble
- Matrix of preprocessed spectra (number of observations, number of wavelengths).
- xOfXPre Double
- On return, contains the x-values of the preprocessed spectra.
- matrixXPre IMatrixDouble
- On return, contains the matrix of preprocessed spectra (each spectrum is a row in the matrix).
See Also