Description Usage Arguments Details Value
View source: R/utilities_segment.R
Internal soundgen function.
1 2 | findBursts(envelope, timestep, interburst, burstThres, peakToTrough,
troughLeft = TRUE, troughRight = FALSE)
|
envelope |
downsampled amplitude envelope |
timestep |
time difference between two points in the envelope (ms) |
interburst |
minimum time between two consecutive bursts (ms). If
specified, it overrides |
burstThres |
to qualify as a burst, a local maximum has to be at least
|
peakToTrough |
to qualify as a burst, a local maximum has to be at
least |
troughLeft |
should local maxima be compared to the trough on the left and/or right of it? Default to TRUE and FALSE, respectively |
troughRight |
should local maxima be compared to the trough on the left and/or right of it? Default to TRUE and FALSE, respectively |
Called by segment
.
Returns a dataframe with timing of bursts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.