pow2scales: Power 2 scales

Description Usage Arguments Value References Examples

View source: R/pow2scales.R

Description

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.

Usage

1
pow2scales(scales)

Arguments

scales

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

Value

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

1
scales <- pow2scales(c(2,128,8))

wavScalogram documentation built on July 23, 2021, 9:07 a.m.