contourToFreq {PamBinaries} | R Documentation |
Add Frequency and Time to Pamguard Whistle Binaries
Description
Adds items freq
and time
to a Pamguard binary file
from the Whistle & Moan Detector
Usage
contourToFreq(data, verbose = FALSE)
Arguments
data |
either a |
verbose |
logical flag to print calculated parameters |
Value
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
Author(s)
Taiki Sakai taiki.sakai@noaa.gov
Examples
# 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
[Package PamBinaries version 1.9.0 Index]