Click or drag to resize

SpikeRemovalByPeakEliminationEliminateSpikesByTopologicalSearching Method

Executes the algorithm either to eliminate positive spikes or negative spikes.

Namespace: Altaxo.Science.Spectroscopy.SpikeRemoval
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static (double[] , double[] , int[] ) EliminateSpikesByTopologicalSearching(
	double[] x,
	double[] y,
	int[]? regions,
	int maximalWidthInPoints,
	bool forNegativeSpikes
)

Parameters

x  Double
The x values.
y  Double
The y values.
regions  Int32
The regions.
maximalWidthInPoints  Int32
Maximal width of the spike (in points).
forNegativeSpikes  Boolean
If set to true, negative spikes will be eliminated; otherwise, positive spikes will be eliminated.

Return Value

ValueTupleDouble, Double, Int32
The x, y and regions array, where y contains the spectrum with eliminated spikes.
See Also