Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

scal2freqs

Wavelet Frequency Scale


Description

Get frequencies associated with the wavelet transform.

Usage

scal2freqs(octs, dt, plot = FALSE)

Arguments

octs

number of octaves

dt

sample rate, s

plot

logical, TRUE=plot

Details

Use morelet wavelet to estimate frequency from wavelet transform.

Value

frequency values

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

See Also

Mmorlet, fft

Examples

noctave <- 6
nvoice <- 20
dt <- 0.004
i1 <- sort(rep(c(1:noctave), times=nvoice))
  jj <- rep(c(0:(nvoice-1)), times=noctave)

  sa <- 2^(i1+jj/nvoice)

  efs <- scal2freqs(sa, dt)

RSEIS

Seismic Time Series Analysis Tools

v3.9-3
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Jake Anderson [ctb], Leonard Lisapaly [ctb], Dave Harris [aut, cph]
Initial release
2020-08-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.