accessD.wpst {wavethresh} | R Documentation

## Get coefficients from a non-decimated wavelet packet object (wpst) in time order.

### Description

The coefficients from a non-decimated wavelet packet object, `wpst`, are stored in a particular order in the wpst component of the wpstobj object. This function extracts all the coefficients corresponding to a particular wavelet packet in time order.

### Usage

    accessD.wpst(wpst, level, index, ...)

### Arguments

`wpst` | Non-decimated wavelet packet object from which you wish to extract time-ordered coefficients.
`level` | The resolution level that you wish to extract. This can range from zero (the coarsest coefficients) to nlevels-1(wstobj) which are the finest scale coefficients.
`index` | The wavelet packet index that you require (sequency ordering). This can range from 0 (father wavelet coeffcients) to `2^(nlevels - level) - 1`, i.e. the maximum is dependent on the resolution level.
`...` | any other arguments

### Details

The `wpst` function performs a non-decimated wavelet packet transform. This function extracts the coefficients at a particular resolution level specified by level in time order.

It is possible to extract the individual packets (before interweaving, i.e. the direct result of multiple applications of the packet operators) by using the `getpacket.wpst` function.

### References

Nason, G.P., Sapatinas, T. and Sawczenko, A. Statistical modelling using undecimated wavelet transforms.

### See Also

`wpst`, `wpst.object`, `accessD`, `getpacket.wpst`

### Examples

    #
    # Get the 4th level of coefficients from a decomposition
    #
    #accessD(wpst(data), level=4)

[Package wavethresh version 4.0-2 Index]