Description Usage Arguments Value Author(s) Examples
View source: R/OnsetPeakDetection1Channel.R
Returns the indices of the "important" peaks in the input signal, together with an indication of the "importance" of the peak.
1 | OnsetPeakDetection1Channel(inSignal, inSampleFreq)
|
inSignal |
the signal to be scanned for peaks. |
inSampleFreq |
the sample frequency of the signal (in Hz). |
A list of two arrays:
PeakIndices, |
the indices within the input signal where the peaks are found. |
Importances, |
a value between 0 and 1 showing the "importance" of a peak. |
Marc Vidal (R
version). Based on the original code from Koen Tanghe.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.