cwtimage | R Documentation |
Converts the output (modulus or argument) of cwtpolar to a 2D array and displays on the graphic device.
cwtimage(input)
input |
3D array containing a continuous wavelet transform |
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)
2D array continuous (complex) wavelet transform
See discussions in the text of “Practical Time-Frequency Analysis”.
cwtpolar
, cwt
, DOG
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.