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)
Arguments
wpstobj
The nondecimated wavelet packet object to store
trans
The optional transform to apply to the coefficients
Value
A list, of class w2m, with the following components:
mThe matrix containing the packets
levelA vector containing the levels from where the packets in m
come from
pktixA vector containing the packet indices from where the packets in m
come from
nlevelsWTThe number of resolution levels from the original wpst object