Learn R Programming

mvcwt (version 1.3.1)

Morlet: The Morlet function

Description

Given a sequence of lag distances, this function returns the Morlet wavelet

Usage

Morlet(lag)

Arguments

lag

A sequence of lag distances, typically a matrix

Value

A set of Morlet filters, typically as a matrix

Details

This version of the Morlet is scaled so that the central frequency is exactly 2Pi radians. This is the simple version of the Morlet, sometimes referred to as a psuedo-wavelet as it it not precisely normalized, leading to some leakage into the DC component. It is therefore unsuited to reconstruction using the inverse transform.

See Also

mvcwt

Examples

Run this code
# NOT RUN {
x = seq(-pi, pi, len = 256)
plot(x, Re(Morlet(x)), col = "darkblue", type = "l")
lines(x, Im(Morlet(x)), col = "darkred")
lines(range(x), rep(0, 2), lty = 2)
# }

Run the code above in your browser using DataLab