MultivariateRegressionPreprocessSpectraForAnalysis Method |
Preprocesses the spectra. This is the common first part, without ensemble processing.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void PreprocessSpectraForAnalysis(
ISingleSpectrumPreprocessor preprocessSingleSpectrum,
IEnsembleMeanScalePreprocessor preprocessEnsembleOfSpectra,
double[] xOfXRaw,
IROMatrix<double> matrixXRaw,
out int[] regionsPre,
out double[] xOfXPre,
out IMatrix<double> matrixXPre,
out IVector<double> meanX,
out IVector<double> scaleX
)
Parameters
- preprocessSingleSpectrum ISingleSpectrumPreprocessor
- Information how to preprocess the spectra, here: how to process each spectrum separately.
- preprocessEnsembleOfSpectra IEnsembleMeanScalePreprocessor
- Information how to preprocess the spectra, here: how to process the spectra ensemble.
- 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).
- regionsPre Int32
- On return, contains the regions (detected).
- 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).
- meanX IVectorDouble
- On return, contains the mean spectrum (mean of all specta).
- scaleX IVectorDouble
- On return, contains the scaling factor for each spectral slot.
See Also