plotWaveform: Plot Graphical Representations of Waveforms

Description Usage Arguments Details Value Author(s)

View source: R/plotWaveform.R

Description

Fetches matching binary data from a single or multiple detections in an AcousticEvent object, then plot the resulting data

Usage

1
2
3
4
5
plotWaveform(x, UID)

plotSpectrogram(x, UID, sr = NULL, ...)

plotWigner(x, UID, sr = NULL, ...)

Arguments

x

a AcousticStudy object, a list of AcousticEvent objects, or a single AcousticEvent object

UID

the UID(s) of the individual detections to fetch the binary data for

sr

if NULL (default) will try to read sample rate from your data. If provided as a value will override sample rate in the data.

...

other arguments to pass to the spectrogram or wigner functions

Details

The plotSpectrogram function uses the function specgram to plot the spectrogram, see this function for plotting options. The plotWigner function uses the function wignerTransform to plot the Wigner-Ville transform, see this function for options.

Value

Nothing, just shows plots for every channel of the waveform for each UID provided

Author(s)

Taiki Sakai taiki.sakai@noaa.gov


TaikiSan21/PAMr documentation built on Nov. 15, 2020, 9:46 p.m.