OnsetPeakDetection1Channel: Onset Peak Detection in One Channel

Description Usage Arguments Value Author(s) Examples

View source: R/OnsetPeakDetection1Channel.R

Description

Returns the indices of the "important" peaks in the input signal, together with an indication of the "importance" of the peak.

Usage

1
OnsetPeakDetection1Channel(inSignal, inSampleFreq)

Arguments

inSignal

the signal to be scanned for peaks.

inSampleFreq

the sample frequency of the signal (in Hz).

Value

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.

Author(s)

Marc Vidal (R version). Based on the original code from Koen Tanghe.

Examples

1

m-vidal/pv01 documentation built on Dec. 2, 2020, 1:24 a.m.