Click or drag to resize

XToXLineBaseExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble) Method

Executes the baseline estimation algorithm for the provided spectrum and writes the estimated baseline into result.

Namespace: Altaxo.Science.Spectroscopy.BaselineEstimation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public virtual void Execute(
	ReadOnlySpan<double> xArray,
	ReadOnlySpan<double> yArray,
	Span<double> result
)

Parameters

xArray  ReadOnlySpanDouble
The x-values of the spectrum.
yArray  ReadOnlySpanDouble
The y-values of the spectrum.
result  SpanDouble
The destination span to which the estimated baseline is written.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe two anchor points evaluate to the same index.
See Also