View source: R/contourToFreq.R
contourToFreq | R Documentation |
Adds items freq
and time
to a Pamguard binary file
from the Whistle & Moan Detector
contourToFreq(data, verbose = FALSE)
data |
either a |
verbose |
logical flag to print calculated parameters |
data
with items freq
and time
added. These use the
calculated FFT window length, hope size, and sample rate to compute the frequency
and time values of the saved whistle contour
Taiki Sakai taiki.sakai@noaa.gov
# load example whistle file wmFile <- system.file('extdata', 'WM.pgdf', package='PamBinaries') wmData <- loadPamguardBinaryFile(wmFile) # converts contour and FFT slice numbers to frequency and time values wmData <- contourToFreq(wmData) wmData$data[[1]]$contour wmData$data[[1]]$freq wmData$data[[1]]$time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.