View source: R/loadBackgroundNoise.R
loadBackgroundNoise | R Documentation |
Reads and formats background noise data from Pamguard binary files or if not present in the original file will try to read the accompanying .pgnf noise file if it exists
loadBackgroundNoise(x)
plotBackgroundNoise(x)
combineBackgroundNoise(x, forPlot = FALSE)
x |
character pointing to a Pamguard binary file, or a |
forPlot |
logical flag when combining noise data. If used for plotting
purposes this will insert NA columns into background data so that images show
up with time gaps as expected. Leave as |
A list with times
storing the POSIXct time of each background
measurement, and background
a matrix of background values. For binary
data based on spectrogram measurements, there will also be freq
the
frequency in Hertz for each column of background measurement
Taiki Sakai taiki.sakai@noaa.gov
# load the example click binary data, leaving date as numeric
gplFile <- system.file('extdata', 'GPL.pgdf', package='PamBinaries')
gplNoise <- loadBackgroundNoise(gplFile)
print(gplNoise)
plotBackgroundNoise(gplNoise)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.