powered by
This function computes an approximation of the effective radius of a mother wavelet.
wavelet_radius(wname = c("MORLET", "DOG", "PAUL", "HAAR", "HAAR2"), wparam = NULL, perc = .0025, scale = 100, n = 1000, makefigure = FALSE)
A list with the following fields:
left: The radius on the left.
left
right: The radius on the right.
right
A string, equal to "MORLET", "DOG", "PAUL", "HAAR" or "HAAR2". The difference between "HAAR" and "HAAR2" is that "HAAR2" is more accurate but slower.
The corresponding nondimensional parameter for the wavelet function (Morlet, DoG or Paul).
Numeric. The wavelet radius is computed so that the area covered is at least the 100*(1-perc)% of the total area of the mother wavelet.
perc
Numeric. Scale of the wavelet used in the computations. It only affects the accuracy.
Numeric. The computations use a time series of length \(2n+1\).
Logical. Plots a figure with the real part of the mother wavelet and its modulus.
waverad <- wavelet_radius(wname = "MORLET", makefigure = TRUE)
Run the code above in your browser using DataLab