getRidgeLength        package:MassSpecWavelet        R Documentation

_E_s_t_i_m_a_t_e _t_h_e _l_e_n_g_t_h _o_f _t_h_e _r_i_d_g_e

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

     Estimate the length of the ridge line, which is composed of local
     maxima at adjacent CWT scales. The ridge line is cut off at the
     end point, whose amplitude divided by the maximum ridge amplitude
     is larger than the cutoff amplitude ratio threshold (0.5 by
     default).

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

     getRidgeLength(ridgeList, Th = 0.5)

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

ridgeList: a list of identified ridges 

      Th: the cutoff amplitude ratio (the amplitude divided by the
          maximum amplitude of the ridge) threshold of the ridge line
          end.  

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

     a vector of estimated ridge length

_A_u_t_h_o_r(_s):

     Pan Du

