Click or drag to resize

SNIP_BaseExecute(Double, Double, Int32) Method

Executes the baseline estimation algorithm for the provided spectrum and returns the detrended result.

Namespace: Altaxo.Science.Spectroscopy.BaselineEstimation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public (double[] , double[] , int[] ) Execute(
	double[] x,
	double[] y,
	int[]? regions
)

Parameters

x  Double
The x-values of the spectrum.
y  Double
The y-values of the spectrum.
regions  Int32
Optional regions to process separately.

Return Value

ValueTupleDouble, Double, Int32
A tuple containing the x-values, the detrended y-values, and the regions.
See Also