\HeaderA{getRidgeLength}{Estimate the length of the ridge}{getRidgeLength}
\keyword{methods}{getRidgeLength}
\begin{Description}\relax
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).
\end{Description}
\begin{Usage}
\begin{verbatim}
getRidgeLength(ridgeList, Th = 0.5)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{ridgeList}] a list of identified ridges 
\item[\code{Th}] the cutoff amplitude ratio (the amplitude divided by the maximum amplitude of the ridge) threshold of the ridge line end.  
\end{ldescription}
\end{Arguments}
\begin{Value}
a vector of estimated ridge length
\end{Value}
\begin{Author}\relax
Pan Du
\end{Author}

