MultivariateRegressionPreprocessSpectraForPrediction(ISingleSpectrumPreprocessor, Double, MatrixDouble, IEnsembleProcessingAuxiliaryData, Double, IMatrixDouble) Method |
Preprocesses the x and y matrices before usage in multivariate calibrations.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static void PreprocessSpectraForPrediction(
ISingleSpectrumPreprocessor preprocessSingleSpectrum,
double[] xOfXRaw,
Matrix<double> matrixXRaw,
IEnsembleProcessingAuxiliaryData auxiliaryDataX,
out double[] xOfXPre,
out IMatrix<double> matrixXPre
)
Parameters
- preprocessSingleSpectrum ISingleSpectrumPreprocessor
- Information how to preprocess the spectra, here: how to process each spectrum separately.
- xOfXRaw Double
- The x-values (wavelength, frequency, etc.) of the spectra (needed for preprocessing).
- matrixXRaw MatrixDouble
- Matrix of preprocessed spectra (number of observations, number of wavelengths).
- auxiliaryDataX IEnsembleProcessingAuxiliaryData
- Contains data from preprocessing that is needed later on for preprocessing spectra for prediction.
- 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