SpikeRemovalByPeakEliminationEliminateSpikesByTopologicalSearching Method |
Executes the algorithm either to eliminate positive spikes or negative spikes.
Namespace: Altaxo.Science.Spectroscopy.SpikeRemovalAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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,
Int32The x, y and regions array, where y contains the spectrum with eliminated spikes.
See Also