.BG
.FN crcrec
.TL
Crazy Climbers Reconstruction by Penalization
.DN
Reconstructs a real valued signal from the output of "crc"
(wavelet case) by minimizing an appropriate
quadratic form.
.CS
crcrec(siginput, inputwt, beemap, noct, nvoice, compr, minnbnodes=2, w0=2 * pi, bstep=5, ptile=0.01, epsilon=0, fast=F, para=5, real=F, plot=2)
.RA
.AG siginput
original signal.
.AG inputwt
wavelet transform.
.AG beemap
occupation measure, output of "crc".
.AG noct
number of octaves.
.AG nvoice
number of voices per octave.
.AG compr
compression rate for sampling the ridges.
.OA
.AG minnbnodes
minimal number of points per ridge.
.AG w0
center frequency of the wavelet.
.AG bstep
size (in the time direction) of the steps for chaining.
.AG ptile
relative threshold of occupation measure.
.AG epsilon
constant in front of the smoothness term in penalty function.
.AG fast
if set to T, uses trapezoidal rule to evaluate $Q_2$.
.AG para
scale parameter for extrapolating the ridges.
.AG real
if set to TRUE, uses only real constraints.
.AG plot
1: displays signal,components,and
reconstruction one after another. 2: displays
signal, components and reconstruction.
.RT
Returns a structure containing the following elements:

rec: reconstructed signal.

ordered: image of the ridges (with different colors).

comp: 2D array containing the signals reconstructed from ridges.
.SE
.DT
When ptile is high, boundary effects may appeare.
para controls extrapolation of the ridge.
.SH REFERENCES
.SA
"crc","cfamily","crcgrec","scrcrec".
.EX
