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.3572.0 (4.8.3572.0)
Syntax
C#
public static void GetXYMatricesOfSpectralColumns(
	DataTableMatrixProxyWithMultipleColumnHeaderColumns data,
	out double[] xOfXRaw,
	out Matrix<double>?? matrixXRaw,
	out Matrix<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  MatrixDouble
On return, contains the spectra. Each row represents one spectrum.
matrixYRaw  MatrixDouble
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