ridge: Ridge of a wavelet power or coherence spectrum

Description Usage Arguments Value Note Author(s) References

View source: R/ridge.R

Description

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.

Usage

1
ridge(wavelet.spectrum, band = 5, scale.factor = 0.1)

Arguments

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.
Default: 5.

scale.factor

a scale factor applied to the global maximum defining a minimum level constraint.
Default: 0.1.

Value

A matrix of 0s and 1s is returned which determines the course of (cross-)wavelet power or coherence ridge in the time/frequency domain.

Note

Credits are also due to Huidong Tian and Bernard Cazelles whose basic concept of ridge determination has been adopted.

Author(s)

Angi Roesch and Harald Schmidbauer

References

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.


WaveletComp documentation built on May 2, 2019, 6:33 a.m.