Click or drag to resize

SpectroscopyCommandsGetPreprocessedData Method

Preprocesses the input spectral data according to the specified preprocessing options and yields the resulting data for each X/Y column set.

Namespace: Altaxo.Science.Spectroscopy
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static IEnumerable<(XAndYColumn xyColumn, double[] , double[] , int[] )> GetPreprocessedData(
	ListOfXAndYColumn inputData,
	SpectralPreprocessingOptionsBase doc
)

Parameters

inputData  ListOfXAndYColumn
The input spectral data as a collection of X and Y columns to be preprocessed.
doc  SpectralPreprocessingOptionsBase
The preprocessing options to apply to the input data.

Return Value

IEnumerableValueTupleXAndYColumn, Double, Double, Int32
An enumerable collection of tuples, each containing the X and Y column information, the processed X array, the processed Y array, and the regions used during preprocessing. The regions value may be null if not applicable.
Remarks
If the input data all have the same length and share the same x-values, the spectra are preprocessed as an ensemble. Otherwise, they are preprocessed one-by-one.
See Also