A point in the CWT $W(t,j)$ is defined
as an extremum if $|W(t-1,j)| + tol < |W(t,j)|$ and $|W(t+1,j)| + tol < |W(t,j)|$
where tol
is a (scale-dependent) tolerance specified by the user.
The search algorithm is also adpated to identify plateaus in the data,
and will select the the middle of the plateau as a maximum location
when encountered. The data $|W(t,j)|$ is first scaled so that its
maximum value is 1.0, so the tolerances should be adjusted accordingly.
Since the CWT coefficients are (in effect) a result band-pass filtering operations,
the large scale coefficients form a smoother curve than do the small
scale coefficients. Thus, the tolerance vector allows the user to specify
scale-dependent tolerances, helping to weed out undesirable local maxima.
It is recommended that the tolerance be set proportional to the scale,
e.g., tolerance=C / sqrt(scale)
where $C$ is a constant
$0 < C < 1$.
The user is also allowed to control the types of peaks to pursue in
the CWT plane: extrema, maxima, or minima. The algorithm (described above) is
adjusted accordingly.The output object contains a list
of sublists, each sublist corresponds to a single branch in the CWT tree and contains the named vectors:
[object Object],[object Object],[object Object],[object Object],[object Object]
In addition, the returned object contains the following attributes:
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]