Learn R Programming

wavethresh (version 4.7.3)

wpst2m: Converts a nondecimated wavelet packet object to a (large) matrix with packets stored as columns

Description

Takes a nondecimated wavelet packet transform, takes the packets one packet at a time and stores them in a matrix. The packets are rotated on extraction and storage in the matrix in an attempt to align them, they are also optionally transformed by trans. The rotation is performed by compgrot.

Note that the coefficients are of some series, not the basis functions themselves.

Usage

wpst2m(wpstobj, trans = identity)

Value

A list, of class w2m, with the following components:

m

The matrix containing the packets

level

A vector containing the levels from where the packets in m come from

pktix

A vector containing the packet indices from where the packets in m come from

nlevelsWT

The number of resolution levels from the original wpst object

Arguments

wpstobj

The nondecimated wavelet packet object to store

trans

The optional transform to apply to the coefficients

Author

G P Nason

Details

Description says all

See Also

makewpstRO, print.w2m

Examples

Run this code
#
# Not intended to be directly used by users
#

Run the code above in your browser using DataLab