WaveThresh
Help
putpacket
Insert a packet of coefficients into a wavelet object.
DESCRIPTION
This generic function inserts packets of coefficients into various types of
wavelet objects.
This function is generic.
Particular methods exist.
For objects of class:
- wp
- use the putpacket.wp method.
- wst
- use the putpacket.wst method.
- wst2D
- use the putpacket.wst2D method.
See individual method help pages for operation and examples.
Use the putC and putD
function to insert whole resolution levels of coefficients simultaneously.
USAGE
putpacket(x, level, index, packet, ...)
REQUIRED ARGUMENTS
- x
- a wavelet object of some kind (wp,
wst, wst2D).
- level
- the resolution level of the coefficients you want to insert.
- index
- the index number within the resolution level that you want to insert.
- packet
- a vector of coefficients of the correct length that you wish to insert
into the wavelet object.
OPTIONAL ARGUMENTS
- ...
- methods may have additional arguments.
VALUE
A wavelet object of the same class as x
the input object.
The returned wavelet object is the same as the input except that the
appropriate packet of coefficients supplied is replaced.
RELEASE
Version 3.5.3 Copyright Guy Nason 1994
SEE ALSO
putpacket.wp,
putpacket.wst,
putpacket.wst2D,
putD,
putC,
wp object,
wst object,
wst2D object.