cgt: Continuous Gabor Transform

Description Usage Arguments Details Value Warning References See Also Examples

Description

Computes the continuous Gabor transform with Gaussian window.

Usage

1
cgt(input, nvoice, freqstep=(1/nvoice), scale=1, plot=TRUE)

Arguments

input

input signal (possibly complex-valued).

nvoice

number of frequencies for which gabor transform is to be computed.

freqstep

Sampling rate for the frequency axis.

scale

Size parameter for the window.

plot

logical variable set to TRUE to display the modulus of the continuous gabor transform on the graphic device.

Details

The output contains the (complex) values of the gabor transform of the input signal. The format of the output is a 2D array (signal\_size x nb\_scales).

Value

continuous (complex) gabor transform (2D array).

Warning

freqstep must be less than 1/nvoice to avoid aliasing. freqstep=1/nvoice corresponds to the Nyquist limit.

References

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

See Also

cwt, cwtp, DOG for continuous wavelet transforms. cwtsquiz for synchrosqueezed wavelet transform.

Examples

1
2
3
4
data(HOWAREYOU)
   plot.ts(HOWAREYOU)
 
cgtHOWAREYOU <- cgt(HOWAREYOU,70,0.01,100)

Rwave documentation built on May 2, 2019, 9:15 a.m.

Related to cgt in Rwave...