MultivariateRegressionGetXLeverageFromRaw Method |
Calculates the spectral leverage from raw spectra.
Namespace: Altaxo.Calc.Regression.MultivariateAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public virtual IROMatrix<double> GetXLeverageFromRaw(
double[] xOfXRaw,
IMatrix<double> matrixXRaw,
int numberOfFactors
)
Parameters
- xOfXRaw Double
- The x-values (wavelength, frequency, etc) of the unpreprocessed spectra.
- matrixXRaw IMatrixDouble
- Matrix of spectra (a spectrum = a row in the matrix).
- numberOfFactors Int32
- Number of factors used for calculation.
Return Value
IROMatrixDoubleMatrix of spectral leverages. Normally, this is a (NumberOfPoints,1) matrix, with exception of PLS1, where it is a (NumberOfPoints,NumberOfY) matrix.
See Also