Description Usage Arguments Value Author(s)
View source: R/standardClickCalcs.R
Calculate a set of "standard" measurements for odontocete clicks. Most of calculations following approach of Baumann-Pickering / Soldevilla
1 2 3 4 5 6 7 8 | standardClickCalcs(
data,
sr_hz = "auto",
calibration = NULL,
filterfrom_khz = 10,
filterto_khz = NULL,
winLen_sec = 0.0025
)
|
data |
a list that must have 'wave' containing the wave form as a
matrix with a separate column for each channel, and 'sr' the
sample rate of the data. Data can also be a |
sr_hz |
either |
calibration |
a calibration function to apply to the spectrum, must be a gam. If NULL no calibration will be applied (not recommended). |
filterfrom_khz |
frequency in khz of highpass filter to apply, or the lower
bound of a bandpass filter if |
filterto_khz |
if a bandpass filter is desired, set this as the upper bound.
If only a highpass filter is desired, leave as the default |
winLen_sec |
length in seconds of fft window. The click wave is first shortened to this number of samples around the peak of the wave, removing a lot of the noise around the click. Following approach of JB/EG/MS. |
A data frame with one row for each channel of click waveform.
Calculates approximate noise level and click duration from the
TK energy (Soldevilla JASA17), up to 3 highest peak frequencies and
the 'troughs' between them (see peakTrough
), and the 3
and 10dB bandwidth levels and 'Q' value (see Q
).
Taiki Sakai taiki.sakai@noaa.gov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.