fourier_factor: Fourier factor of a wavelet

Description Usage Arguments Value References Examples

View source: R/fourier_factor.R

Description

This function computes the Fourier factor of a wavelet, according to Torrence and Compo (1998).

Usage

1
2
fourier_factor(wname = c("MORLET", "DOG", "PAUL", "HAAR", "HAAR2"),
                      wparam = NULL)

Arguments

wname

A string, equal to "MORLET", "DOG", "PAUL", "HAAR" or "HAAR2" that determines the wavelet function.

wparam

The corresponding nondimensional parameter for the wavelet function (Morlet, DoG or Paul).

Value

The numeric value of the Fourier factor.

References

C. Torrence, G. P. Compo. A practical guide to wavelet analysis. B. Am. Meteorol. Soc. 79 (1998), 61<e2><80><93>78.

Examples

1
ff <- fourier_factor(wname = "DOG", wparam = 6)

wavScalogram documentation built on May 24, 2019, 5:03 p.m.