wavmatwork: Facilitates the computations in synmat for coherence and...

Description Usage Arguments Value Note Author(s)

View source: R/wavmatwork.R

Description

Worker/utility function serving the analysis carried out in synmat for methods based on coherence or real part of the cross-wavelet transform.

Usage

1
wavmatwork(dat, times, scale.min, scale.max.input, sigma, f0, norm, treatment)

Arguments

dat

A locations (rows) x time (columns) matrix of measurements

times

The times at which measurements were made, spacing 1

scale.min

The smallest scale of fluctuation that will be examined. At least 2. Used only for wavelet-based methods.

scale.max.input

The largest scale of fluctuation guaranteed to be examined. Only used for wavelet-based methods.

sigma

The ratio of each time scale examined relative to the next timescale. Should be greater than 1. Only used for wavelet-based methods.

f0

The ratio of the period of fluctuation to the width of the envelope. Only used for wavelet-based methods.

norm

The normalization of wavelet transforms to be used. One of "none", "phase", "powind".

treatment

Either "Mod" or "Re"

Value

wavmatwork returns a list consisting of:

timescales

The timescales of analysis

wavarray

An array, locations by locations by timescales, containing either the coherences (for treatment="Mod") or the real parts of the cross-wavelet transforms (for treatment="Re") between locations.

Note

Internal function, no error checking done.

Author(s)

Daniel Reuman, reuman@ku.edu


wsyn documentation built on June 19, 2021, 1:07 a.m.