threshold {rwt}R Documentation

thresholding function

Description

Thresholds the input signal y with the threshold value thld.

Usage

hardTh(y, thld)
softTh(y, thld)

Arguments

y 1D or 2D signal to be thresholded
thld Threshold value to be applied

Value

x Thresholded output

Author(s)

P. Roebuck, roebuck@mdanderson.org

References

"De-noising via Soft-Thresholding" Tech. Rept. Statistics, Stanford, 1992. D.L. Donoho.

Examples

sig <- makesig(SIGNAL.WERNER.SORROWS, 8);
thld <- 1;
x <- rwt:::hardTh(sig$x, thld);

[Package rwt version 0.9-0 Index]