Click or drag to resize

WorksheetAnalysisGetXYMatricesOfSpectralColumns Method

Gets the spectral and target variable matrices (both unpreprocessed) for analysis.

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void GetXYMatricesOfSpectralColumns(
	DataTableMatrixProxyWithMultipleColumnHeaderColumns data,
	out double[] xOfXRaw,
	out IMatrix<double>?? matrixXRaw,
	out IMatrix<double>?? matrixYRaw
)

Parameters

data  DataTableMatrixProxyWithMultipleColumnHeaderColumns
The data object storing which columns participate.
xOfXRaw  Double
On return, contains the x-values (wavelength, frequency, etc) of the spectra
matrixXRaw  IMatrixDouble
On return, contains the spectra. Each row represents one spectrum.
matrixYRaw  IMatrixDouble
On return, contains the target variables. Each row represents one measurement (belonging to one spectrum).
Exceptions
ExceptionCondition
InvalidOperationExceptionData column at index {i} is null!
See Also