.BG
.FN regrec2
.TL
Reconstruction from a Ridge
.DN
Reconstructs signal from a ``regularly sampled'' ridge,
in the wavelet case, from a precomputed kernel.
.CS
regrec2(siginput, cwtinput, phi, nbnodes, noct, nvoice, Q2, epsilon=0.5, w0=2 * pi, plot=F)
.RA
.AG siginput
input signal.
.AG cwtinput
wavelet transform, output of "cwt".
.AG phi
unsampled ridge.
.AG nbnodes
number of samples on the ridge
.AG noct
number of octaves (powers of 2)
.AG nvoice
number of different scales per octave
.AG Q2
second term of the reconstruction kernel
.OA
.AG epsilon
coefficient of the Q_2 term in reconstruction kernel
.AG w0
central frequency of Morlet wavelet
.AG plot
if set to T, displays original and reconstructed signals
.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
.SE
.DT
The computation of the kernel may be time consuming. This function
avoids recomputing it if it was computed already.
.SH REFERENCES
See discussions in the text of "Practical Time-Frequency Analysis".
.SA
"regrec", "gregrec", "ridrec", "sridrec".
n.EX
