SpikeRemovalByPeakEliminationEliminateSpikesOfWidthOneByWavelet Method |
Finds spikes of width = 1 point, using a wavelet transformation (wavelet: -0.5, 1, -0.5), and then eliminates those 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[] ) EliminateSpikesOfWidthOneByWavelet(
double[] x,
double[] y,
int[]? regions,
bool forPositiveSpikes,
bool forNegativeSpikes
)
Parameters
- x Double
- The x values.
- y Double
- The y values.
- regions Int32
- The regions.
- forPositiveSpikes Boolean
- If set to true, positive spikes will be eliminated.
- forNegativeSpikes Boolean
- If set to true, negative spikes will be eliminated.
Return Value
ValueTupleDouble,
Double,
Int32The x, y and regions array, where y contains the spectrum with eliminated spikes.
See Also