.BG
.FN gcrcrec
.TL
Crazy Climbers Reconstruction by Penalization
.DN
Reconstructs a real valued signal from ridges found by 
crazy climbers on a gabor transform.
.CS
gcrcrec(siginput, inputgt, beemap, nvoice, freqstep, scale, compr, bstep=5, ptile=0.01, epsilon=0, fast=T, para=5, minnbnodes=3, hflag=F, real=F, plot=2)
.RA
.AG siginput
original signal.
.AG inputgt
Gabor transform.
.AG beemap
occupation measure, output of "crc".
.AG nvoice
number of frequencies.
.AG freqstep
sampling step for frequency axis.
.AG scale
size of windows.
.AG compr
compression rate to be applied to the ridges.
.OA
.AG bstep
size (in the time direction) of the steps for chaining.
.AG ptile
threshold of ridge
.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 minnbnodes
minimal number of points per ridge.
.AG hflag
if set to F, uses the identity as first term
in the kernel. If not, uses Q_1 instead.
.AG real
if set to T, 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
See discussions in the text of "Practical Time-Frequency Analysis".
.SA
"crc","cfamily","crcrec","scrcrec"
.EX
