wavelet_radius {wavScalogram} | R Documentation |
Wavelet radius
Description
This function computes an approximation of the effective radius of a mother wavelet.
Usage
wavelet_radius(wname = c("MORLET", "DOG", "PAUL", "HAAR", "HAAR2"),
wparam = NULL,
perc = .0025,
scale = 100,
n = 1000,
makefigure = FALSE)
Arguments
wname |
A string, equal to "MORLET", "DOG", "PAUL", "HAAR" or "HAAR2". The difference between "HAAR" and "HAAR2" is that "HAAR2" is more accurate but slower. |
wparam |
The corresponding nondimensional parameter for the wavelet function (Morlet, DoG or Paul). |
perc |
Numeric. The wavelet radius is computed so that the area covered is at
least the 100*(1- |
scale |
Numeric. Scale of the wavelet used in the computations. It only affects the accuracy. |
n |
Numeric. The computations use a time series of length |
makefigure |
Logical. Plots a figure with the real part of the mother wavelet and its modulus. |
Value
A list with the following fields:
-
left
: The radius on the left. -
right
: The radius on the right.
Examples
waverad <- wavelet_radius(wname = "MORLET", makefigure = TRUE)