crcrec                 package:Rwave                 R Documentation

_C_r_a_z_y _C_l_i_m_b_e_r_s _R_e_c_o_n_s_t_r_u_c_t_i_o_n _b_y _P_e_n_a_l_i_z_a_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Reconstructs a real valued signal from the output of `crc'
     (wavelet case) by minimizing an appropriate quadratic form.

_U_s_a_g_e:

     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)

_A_r_g_u_m_e_n_t_s:

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 T, 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. 

_D_e_t_a_i_l_s:

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

_V_a_l_u_e:

     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. 

_R_e_f_e_r_e_n_c_e_s:

_S_e_e _A_l_s_o:

     `crc', `cfamily', `scrcrec'.

