Click or drag to resize

SpectralPreprocessingOptionsSetRegionsByIdentification Method

Tries to identify spectral regions by analyzing the spectral X values.

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public void SetRegionsByIdentification(
	IReadOnlyList<double> xvalues
)

Parameters

xvalues  IReadOnlyListDouble
The vector of X values for the spectra (wavelengths, frequencies, ...).
Remarks
An end of a region is recognized when the gap between two consecutive X values is ten times larger than the previous gap, or if the sign of the gap changes. This method fails if a spectral region contains only a single point (since no gap value can be obtained then). (But in this case almost all spectral correction methods also fail.)
See Also