accessD.wpst | R Documentation |
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.
## S3 method for class 'wpst'
accessD(wpst, level, index, ...)
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 nlevelsWT-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 |
... |
any other arguments |
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.
G P Nason
Nason, G.P., Sapatinas, T. and Sawczenko, A. Statistical modelling using undecimated wavelet transforms.
wpst
, wpst.object
, accessD
, getpacket.wpst
#
# Get the 4th level of coefficients from a decomposition
#
dat <- rnorm(128)
accessD(wpst(dat), level=4, index=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.