# crcrec

##### Crazy Climbers Reconstruction by Penalization

Reconstructs a real valued signal from the output of `crc`

(wavelet case) by minimizing an appropriate quadratic form.

- Keywords
- ts

##### Usage

```
crcrec(siginput, inputwt, beemap, noct, nvoice, compr, minnbnodes=2,
w0=2 * pi, bstep=5, ptile=0.01, epsilon=0, fast=FALSE, para=5, real=FALSE,
plot=2)
```

##### Arguments

- siginput
original signal.

- inputwt
wavelet transform.

- beemap
occupation measure, output of

`crc`

.- noct
number of octaves.

- nvoice
number of voices per octave.

- compr
compression rate for sampling the ridges.

- minnbnodes
minimal number of points per ridge.

- w0
center frequency of the wavelet.

- bstep
size (in the time direction) of the steps for chaining.

- ptile
relative threshold of occupation measure.

- epsilon
constant in front of the smoothness term in penalty function.

- fast
if set to TRUE, uses trapezoidal rule to evaluate $Q_2$.

- para
scale parameter for extrapolating the ridges.

- real
if set to TRUE, uses only real constraints.

- plot
1: displays signal,components,and reconstruction one after another. 2: displays signal, components and reconstruction.

##### Details

When ptile is high, boundary effects may appeare. para controls extrapolation of the ridge.

##### Value

Returns a structure containing the following elements:

reconstructed signal.

image of the ridges (with different colors).

2D array containing the signals reconstructed from ridges.

##### See Also

*Documentation reproduced from package Rwave, version 2.4-8, License: GPL (>= 2)*