wp: Wavelet packet transform.

wpR Documentation

Wavelet packet transform.

Description

This function computes a wavelet packet transform (computed by the complete binary application of the DH and DG packet operators, as opposed to the Mallat discrete wavelet transform which only recurses on the DH operator [low pass]).

Usage

wp(data, filter.number=10, family="DaubLeAsymm", verbose=FALSE)

Arguments

data

A vector containing the data you wish to decompose. The length of this vector must be a power of 2.

filter.number

This selects the smoothness of wavelet that you want to use in the decomposition. By default this is 10, the Daubechies least-asymmetric orthonormal compactly supported wavelet with 10 vanishing moments.

family

specifies the family of wavelets that you want to use. The options are "DaubExPhase" and "DaubLeAsymm".

verbose

if TRUE then (un)helpful messages are printed during the execution.

Details

The paper by Nason, Sapatinas and Sawczenko, 1998 details this implementation of the wavelet packet transform. A more thorough reference is Wickerhauser, 1994.

Value

An object of class wp which contains the (decimated) wavelet packet coefficients.

RELEASE

Version 3.0 Copyright Guy Nason 1994

Author(s)

G P Nason

See Also

accessC.wp, accessD.wp, basisplot.wp, draw.wp,drawwp.default, filter.select, getpacket.wp, InvBasis.wp, MaNoVe.wp, plot.wp, print.wp, putC.wp, putD.wp, putpacket.wp, summary.wp, threshold.wp, wp.object.

Examples

v <- rnorm(128)
vwp <- wp(v)


wavethresh documentation built on Nov. 16, 2022, 5:16 p.m.