R: Reconstruction from a Ridge

regrec {Rwave} | R Documentation

## Reconstruction from a Ridge

### Description

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

### Usage

    regrec(siginput, cwtinput, phi, compr, noct, nvoice, epsilon=0,
    w0=2 * pi, fast=FALSE, plot=FALSE, para=0, hflag=FALSE,
    check=FALSE, minnbnodes=2, real=FALSE)

### Arguments

`siginput` | input signal.
`cwtinput` | wavelet transform, output of `cwt`.
`phi` | unsampled ridge.
`compr` | subsampling rate for the wavelet coefficients (at scale 1)
`noct` | number of octaves (powers of 2)
`nvoice` | number of different scales per octave
`epsilon` | coefficient of the Q_2 term in reconstruction kernel
`w0` | central frequency of Morlet wavelet
`fast` | if set to TRUE, 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.
`check` | if set to TRUE, computes `cwt` of reconstructed signal.
`minnbnodes` | minimum number of nodes for the reconstruction.
`real` | if set to TRUE, uses only real constraints on the transform.

### Value

Returns a list containing:

`sol` | reconstruction from a ridge.
`A` | <wavelets,dualwavelets> matrix.
`lam` | coefficients of dual wavelets in reconstructed signal.
`dualwave` | array containing the dual wavelets.
`morvelets` | array containing the wavelets on sampled ridge.
`solskel` | wavelet transform of sol, restricted to the ridge.
`inputskel` | wavelet transform of signal, restricted to the ridge.
`Q2` | second part of the reconstruction kernel.
`nbnodes` | number of nodes used for the reconstruction.

### References

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

### See Also

`regrec2`, `ridrec`, `gregrec`, `gridrec`.

[Package Rwave version 2.6-0 Index]