This function computes the Fourier factor of a wavelet, according to Torrence and Compo (1998).
fourier_factor(wname = c("MORLET", "DOG", "PAUL", "HAAR", "HAAR2"),
wparam = NULL)
The numeric value of the Fourier factor.
A string, equal to "MORLET", "DOG", "PAUL", "HAAR" or "HAAR2" that determines the wavelet function.
The corresponding nondimensional parameter for the wavelet function (Morlet, DoG or Paul).
C. Torrence, G. P. Compo. A practical guide to wavelet analysis. B. Am. Meteorol. Soc. 79 (1998), 61–78.
ff <- fourier_factor(wname = "DOG", wparam = 6)
Run the code above in your browser using DataLab