PeakFinder_select_by_peak_distance Method |
Evaluate which peaks fulfill the distance condition.
Namespace: Altaxo.Science.Spectroscopy.PeakSearchingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax protected bool[] _select_by_peak_distance(
int[] peaks,
double[] priority,
double distanced
)
Parameters
- peaks Int32
- Indices of peaks in the spectrum.
- priority Double
- An array matching peaks used to determine priority of each peak.
A peak with a higher priority value is kept over one with a lower one.
- distanced Double
- Minimal distance that peaks must be spaced.
Return Value
BooleanA boolean mask evaluating to true where `peaks` fulfill the distance condition.
See Also