R: Invert a wp library representation with a particular basis...

InvBasis.wp {wavethresh} | R Documentation

## Invert a wp library representation with a particular basis spec

### Description

Inverts a wp basis representation with a given basis specification, for example an output from the `MaNoVe` function.

### Usage

    ## S3 method for class 'wp'
    InvBasis(wp, nvwp, pktlist, verbose=FALSE, ...)

### Arguments

`wp` | The wavelet packet object you wish to invert.
`nvwp` | A basis specification in the format of a node vector (wp) object, obtained, eg by the `MaNoVe.wp` function
`pktlist` | 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`
`verbose` | If TRUE then informative messages are printed.
`...` | Other arguments, not used

### Details

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.

### Value

The inverted reconstruction

### Author(s)

G P Nason

### See Also

`InvBasis`,`MaNoVe.wp`,`numtonv`,`print.nvwp`,`wp`

### Examples

    #
    # The example in InvBasis.wst can be used here, but replaced wst by wp
    #

[Package wavethresh version 4.6.8 Index]