Click or drag to resize

IEnsembleMeanScalePreprocessorProcess Method

Processes multiple spectra together.

Namespace: Altaxo.Science.Spectroscopy.EnsembleMeanScale
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
void Process(
	IMatrix<double> spectraMatrix,
	int[] regions,
	IVector<double> spectraMean,
	IVector<double> spectraScale
)

Parameters

spectraMatrix  IMatrixDouble
The matrix of spectra. Each spectrum is a row of the matrix.
regions  Int32
Vector of spectral regions. Each element is the index of the start of a new region.
spectraMean  IVectorDouble
Output: On return, contains the ensemble mean of the spectra.
spectraScale  IVectorDouble
Output: On return, contains scaling factors for each spectral slot.
See Also