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

