.BG
.FN mntrim
.TL
Trim Dyadic Wavelet Transform Extrema
.DN
Trimming of dyadic wavelet transform local extrema, assuming
normal distribution.
.CS
mntrim(extrema, scale=FALSE)
.RA
.AG extrema
dyadic wavelet transform extrema (output of "ext").
.OA
.AG scale
when set, the wavelet transform at each scale will be plotted 
with the same scale.
.RT
Structure containing

original:original signal.

extrema:trimmed extrema representation.

Sf:coarse resolution of signal.

maxresoln:number of decomposition scales.

np:size of signal.
.SE
.DT
The distribution of extrema of dyadic wavelet transform
at each scale is generated by simulation, assuming a
normal distribution, and the 95% critical value
is used for thresholding the extrema of the signal.
.SH REFERENCES
See discussions in the text of "Practical Time-Frequency Analysis".
.SA
"mbtrim", "mrecons", "ext".
.EX
