cgt: Continuous Gabor Transform

View source: R/gabor.R

cgtR Documentation

Continuous Gabor Transform

Description

Computes the continuous Gabor transform with Gaussian window.

Usage

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

data(HOWAREYOU)
   plot.ts(HOWAREYOU)
 
cgtHOWAREYOU <- cgt(HOWAREYOU,70,0.01,100)


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

Related to cgt in Rwave...