warray {wsyn} | R Documentation |
Creates an array of wavelet transforms from input timeseries
Description
Creates an array of wavelet transforms from input timeseries
Usage
warray(dat, times, scale.min = 2, scale.max.input = NULL, sigma = 1.05, f0 = 1)
Arguments
dat |
A locations (rows) x time (columns) matrix |
times |
A vector of timestep values (e.g. years), spacing 1 |
scale.min |
The smallest scale of fluctuation that will be examined. At least 2. |
scale.max.input |
The largest scale of fluctuation that will be examined. Note that if this is set too high relative to the length of the timeseries it will be truncated. |
sigma |
The ratio of each time scale examined relative to the next timescale. Greater than 1. |
f0 |
The ratio of the period of fluctuation to the width of the envelope |
Value
warray
returns a list containing:
wavarray |
locations x time x timescales array of wavelet transforms |
times |
the time steps specified (e.g., years) |
timescales |
the timescales (1/frequency) computed for the wavelet transforms |
Note
Important for interpreting the phase: the phases grow through time, i.e., they turn anti-clockwise. This function is internal, no error checking.
Author(s)
Lauren Hallett, hallett@uoregon.edu; Lawrence Sheppard, lwsheppard@ku.edu; Daniel Reuman, reuman@ku.edu