cwt_spectrogram: Computes a spectrogram using CWT

Description Usage Arguments See Also

View source: R/cwt-spectrogram.R

Description

A port of Continuous Wavelet transform to rethomics. This function is intended to be used as an argument in the spectrogram wrapper.

Usage

1
2
3
cwt_spectrogram(x, period_range = c(hours(1), hours(32)),
  sampling_rate = 1/mins(1), resolution = 1/64,
  summary_time_window = mins(30))

Arguments

x

numeric vector

period_range

vector of size 2 defining minimal and maximal range of period to study (in seconds)

sampling_rate

the – implicitly regular – sampling rate of x (in hertz)

resolution

the period resolution of the CWT (i.e. the number of suboctaves)

summary_time_window

the sampling period after post-processing. Values of power are avegraged over this time window, for each period.

See Also


rethomics/zeitgebr documentation built on Dec. 11, 2018, 3:39 a.m.