Description Usage Arguments Value Note Author(s) References
It finds the ridge of a (cross-)wavelet power or coherence spectrum, subject to criteria concerning: the band of neighboring values to be included in the search area for local maximization, and a scale factor applied to the global maximum defining a minimum level constraint.
The basic concept of ridge determination builds on ideas developed by Huidong Tian and Bernard Cazelles
(archived R package WaveletCo
).
This code is an efficient implementation of this concept, building heavily on the use of matrices
in order to minimize computation time in R.
1 | ridge(wavelet.spectrum, band = 5, scale.factor = 0.1)
|
wavelet.spectrum |
(cross-)wavelet power or coherence spectrum in the time/frequency domain |
band |
lower/upper band of neighboring values in the frequency domain used in the search for local maxima. |
scale.factor |
a scale factor applied to the global maximum defining a minimum level constraint. |
A matrix of 0
s and 1
s is returned which determines the course of (cross-)wavelet power or coherence ridge in the time/frequency domain.
Credits are also due to Huidong Tian and Bernard Cazelles whose basic concept of ridge determination has been adopted.
Angi Roesch and Harald Schmidbauer
Tian, H., and Cazelles, B., 2012. WaveletCo
.
Available at https://cran.r-project.org/src/contrib/Archive/WaveletCo/, archived April 2013; accessed July 26, 2013.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.