pow2scales function

Power 2 scales

Power 2 scales

This function constructs power 2 scales (i.e. using a base 2 logarithmic scale) from a vector of three elements with the minimum scale, the maximum scale and the number of suboctaves per octave, following Torrence and Compo 1998.

pow2scales(scales)

Arguments

  • scales: A vector of three elements with the minimum scale, the maximum scale and the number ofsuboctaves per octave.

Returns

A vector with all the scales.

References

C. Torrence, G. P. Compo. A practical guide to wavelet analysis. B. Am. Meteorol. Soc. 79 (1998), 61–78.

Examples

scales <- pow2scales(c(2,128,8))
  • Maintainer: Vicente J. Bolos
  • License: GPL
  • Last published: 2024-03-01

Useful links