thresholds wavelet detail coefficients
On return, the detail coefficients encoded in decomp are replaced by their thresholded values. Note that this action is not reversible. If you want to retain the original detail coefficients, you should not use the WAVTHRSH subroutine to do thresholding. Rather, you should supply the thresholding argument where appropriate in the WAVIFT, WAVGET, and WAVPRINT subroutine calls.
An example is available in the documentation for the WAVFT subroutine.