Inverts a wp basis representation with a given basis specification,
for example an output from the MaNoVe
function.
# S3 method for wp
InvBasis(wp, nvwp, pktlist, verbose=FALSE, ...)
The inverted reconstruction
The wavelet packet object you wish to invert.
A basis specification in the format of a node vector (wp) object,
obtained, eg by the MaNoVe.wp
function
Another way of specifying the basis. If this argument is
not specified then it is generated automatically from the
nvwp
argument. If it is specified then it overrides
the one generated by nvwp
If TRUE then informative messages are printed.
Other arguments, not used
G P Nason
Objects arising from a wp.object
specification
are a representation of a signal with respect to a library
of wavelet packet basis functions.
A particular basis specification can be obtained
using the numtonv
function which can pick an indexed
basis function, or MaNoVe.wp
which uses the
Coifman-Wickerhauser minimum entropy method to select a basis.
This function takes a wp.object
and
a particular basis description (in a nv.object
node vector
object) and inverts the representation with respect to that selected basis.
The function can alternatively take a packet list pktlist
specification which
overrides the node vector if supplied. If the pktlist
is missing
then one is generated internally from the nvwp
object using the
print.nvwp
function.
InvBasis
,MaNoVe.wp
,numtonv
,print.nvwp
,wp
#
# The example in InvBasis.wst can be used here, but replaced wst by wp
#
Run the code above in your browser using DataLab