Click or drag to resize

SNIP_BaseEvaluateBaselineWithLocalHalfWidth Method

Executes the algorithm with the provided spectrum. This method is specialized for not equally spaced x-values, and the half width given in x-units. The half width in points is calculated for each point individually.

Namespace: Altaxo.Science.Spectroscopy.BaselineEstimation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected virtual void EvaluateBaselineWithLocalHalfWidth(
	ReadOnlySpan<double> x,
	double[] srcY,
	double[] tmpY,
	Span<double> result
)

Parameters

x  ReadOnlySpanDouble
The x values of the spectral values.
srcY  Double
The array of spectral values.
tmpY  Double
A temporary working array of the same length than srcY.
result  SpanDouble
The location where the baseline corrected spectrum should be stored.

Return Value

The evaluated background of the provided spectrum.
See Also