Description Usage Arguments Value Note Author(s) References Examples
Compute wavelet coherence
1 2 3 |
d1 |
time series 1 in matrix format ( |
d2 |
time series 2 in matrix format ( |
pad |
pad the values will with zeros to increase the speed of the transform. Default is TRUE. |
dj |
spacing between successive scales. Default is 1/12. |
s0 |
smallest scale of the wavelet. Default is |
J1 |
number of scales - 1. |
max.scale |
maximum scale. Computed automatically if left unspecified. |
mother |
type of mother wavelet function to use. Can be set to |
param |
nondimensional parameter specific to the wavelet function. |
lag1 |
vector containing the AR(1) coefficient of each time series. |
sig.level |
significance level. Default is |
sig.test |
type of significance test. If set to 0, use a regular χ^2 test. If set to 1, then perform a time-average test. If set to 2, then do a scale-average test. |
nrands |
number of Monte Carlo randomizations. Default is 300. |
quiet |
Do not display progress bar. Default is |
Return a biwavelet
object containing:
coi |
matrix containg cone of influence |
wave |
matrix containing the cross-wavelet transform |
wave.corr |
matrix containing the bias-corrected cross-wavelet transform
using the method described by |
power |
matrix of power |
power.corr |
matrix of bias-corrected cross-wavelet power using the method described
by |
rsq |
matrix of wavelet coherence |
phase |
matrix of phases |
period |
vector of periods |
scale |
vector of scales |
dt |
length of a time step |
t |
vector of times |
xaxis |
vector of values used to plot xaxis |
s0 |
smallest scale of the wavelet |
dj |
spacing between successive scales |
d1.sigma |
standard deviation of time series 1 |
d2.sigma |
standard deviation of time series 2 |
mother |
mother wavelet used |
type |
type of |
signif |
matrix containg |
The Monte Carlo randomizations can be extremely slow for large datasets. For instance, 1000 randomizations of a dataset consisting of 1000 samples will take ~30 minutes on a 2.66 GHz dual-core Xeon processor.
Tarik C. Gouhier (tarik.gouhier@gmail.com)
Code based on WTC MATLAB package written by Aslak Grinsted.
Cazelles, B., M. Chavez, D. Berteaux, F. Menard, J. O. Vik, S. Jenouvrier, and N. C. Stenseth. 2008. Wavelet analysis of ecological time series. Oecologia 156:287-304.
Grinsted, A., J. C. Moore, and S. Jevrejeva. 2004. Application of the cross wavelet transform and wavelet coherence to geophysical time series. Nonlinear Processes in Geophysics 11:561-566.
Torrence, C., and G. P. Compo. 1998. A Practical Guide to Wavelet Analysis. Bulletin of the American Meteorological Society 79:61-78.
Torrence, C., and P. J. Webster. 1998. The annual cycle of persistence in the El Nino/Southern Oscillation. Quarterly Journal of the Royal Meteorological Society 124:1985-2004.
Veleda, D., R. Montagne, and M. Araujo. 2012. Cross-Wavelet Bias Corrected by Normalizing Scales. Journal of Atmospheric and Oceanic Technology 29:1401-1408.
1 2 3 4 5 6 7 8 |
biwavelet 0.20.11 loaded.
|
| | 0%
|
|======= | 10%
|
|============== | 20%
|
|===================== | 30%
|
|============================ | 40%
|
|=================================== | 50%
|
|========================================== | 60%
|
|================================================= | 70%
|
|======================================================== | 80%
|
|=============================================================== | 90%
|
|======================================================================| 100%
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.