# gregrec: Reconstruction from a Ridge In Rwave: Time-Frequency Analysis of 1-D Signals

 gregrec R Documentation

## Reconstruction from a Ridge

### Description

Reconstructs signal from a “regularly sampled” ridge, in the Gabor case.

### Usage

```gregrec(siginput, gtinput, phi, nbnodes, nvoice, freqstep, scale,
epsilon=0, fast=FALSE, plot=FALSE, para=0, hflag=FALSE, real=FALSE,
check=FALSE)
```

### Arguments

 `siginput` input signal. `gtinput` Gabor transform, output of `cgt`. `phi` unsampled ridge. `nbnodes` number of nodes used for the reconstruction. `nvoice` number of different scales per octave `freqstep` sampling rate for the frequency axis `scale` size parameter for the Gabor function. `epsilon` coefficient of the Q_2 term in reconstruction kernel `fast` if set to T, the kernel is computed using trapezoidal rule. `plot` if set to TRUE, displays original and reconstructed signals `para` scale parameter for extrapolating the ridges. `hflag` if set to TRUE, uses Q_1 as first term in the kernel. `real` if set to TRUE, uses only real constraints on the transform. `check` if set to TRUE, computes `cwt` of reconstructed signal.

### Value

Returns a list containing:

 `sol` reconstruction from a ridge. `A` matrix. `lam` coefficients of dual wavelets in reconstructed signal. `dualwave` array containing the dual wavelets. `gaborets` array containing the wavelets on sampled ridge. `solskel` Gabor transform of sol, restricted to the ridge. `inputskel` Gabor transform of signal, restricted to the ridge. `Q2` second part of the reconstruction kernel.

### References

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

`regrec`.