SpikeRemovalByPeakEliminationPatchPositiveSpikeInline Method |
Removes a positive spike by using the SNIP baseline algorithm around that spike.
Namespace: Altaxo.Science.Spectroscopy.SpikeRemovalAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static void PatchPositiveSpikeInline(
double[] x,
double[] y,
double[] yNew,
int peakPosition,
double width
)
Parameters
- x Double
- The x array (spectral x-axis values).
- y Double
- The y array (spectral values).
- yNew Double
- The new spectral values.
- peakPosition Int32
- The peak position.
- width Double
- The width of the peak.
See Also