.BG
.FN regrec
.TL
Reconstruction from a Ridge
.DN
Reconstructs signal from a ``regularly sampled'' ridge,
in the wavelet case.
.CS
regrec(siginput, cwtinput, phi, compr, noct, nvoice, epsilon=0, w0=2 * pi, fast=F, plot=F, para=0, hflag=F, check=F, minnbnodes=2, real=F)
.RA
.AG siginput
input signal.
.AG cwtinput
wavelet transform, output of "cwt".
.AG phi
unsampled ridge.
.AG compr
subsampling rate for the wavelet coefficients (at scale 1)
.AG noct
number of octaves (powers of 2)
.AG nvoice
number of different scales per octave
.OA
.AG epsilon
coefficient of the $Q_2$ term in reconstruction kernel
.AG w0
central frequency of Morlet wavelet
.AG fast
if set to T, the kernel is computed using trapezoidal rule.
.AG plot
if set to T, displays original and reconstructed signals
.AG para
scale parameter for extrapolating the ridges.
.AG hflag
if set to T, uses Q_1 as first term in the kernel.
.AG check
if set to T, computes "cwt" of reconstructed signal.
.AG minnbnodes
minimum number of nodes for the reconstruction.
.AG real
if set to T, uses only real constraints on the transform.
.RT
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.
.SE
.DT
.SH REFERENCES
See discussions in the text of "Practical Time-Frequency Analysis".
.SA
"regrec2", "ridrec", "gregrec", "gridrec".
.EX
