PeakFinder_peak_prominences Method |
Calculate the prominence of each peak in a signal.
Namespace: Altaxo.Science.Spectroscopy.PeakSearchingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic (double[] , int[] , int[] , string warnings) _peak_prominences(
IReadOnlyList<double> x,
int[] peaks,
int wlen
)
Parameters
- x IReadOnlyListDouble
- The signal, e.g. a spectrum with peaks.
- peaks Int32
- The indices of the peak positions in x.
- wlen Int32
- A window length in samples (see `peak_prominences`) which is rounded up
to the nearest odd integer.If smaller than 2 the entire signal `x` is
used.
Return Value
ValueTupleDouble,
Int32,
Int32,
String
A tuple containing the computed prominences, left base indices, right base indices, and an optional warnings string.
See Also