cwtimage: Continuous Wavelet Transform Display

View source: R/Cwt_Morlet.R

cwtimageR Documentation

Continuous Wavelet Transform Display

Description

Converts the output (modulus or argument) of cwtpolar to a 2D array and displays on the graphic device.

Usage

cwtimage(input)

Arguments

input

3D array containing a continuous wavelet transform

Details

The output contains the (complex) values of the wavelet transform of the input signal. The format of the output can be

2D array (signal_size x nb_scales)

3D array (signal_size x noctave x nvoice)

Value

2D array continuous (complex) wavelet transform

References

See discussions in the text of “Practical Time-Frequency Analysis”.

See Also

cwtpolar, cwt, DOG.

Examples

    x <- 1:512
    chirp <- sin(2*pi * (x + 0.002 * (x-256)^2 ) / 16)
    retChirp <- cwt(chirp, noctave=5, nvoice=12, twoD=FALSE, plot=FALSE)
    retPolar <- cwtpolar(retChirp)
    retImageMod <- cwtimage(retPolar$modulus)
    retImageArg <- cwtimage(retPolar$argument)

Rwave documentation built on Oct. 22, 2022, 1:05 a.m.

Related to cwtimage in Rwave...