cwt_spectrogram {zeitgebr}R Documentation

Computes a spectrogram using CWT

Description

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

Usage

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


[Package zeitgebr version 0.3.5 Index]