wp.crystal
. A
wp.crystal
is a collection
of wavelet coefficients.
wp.crystal(x, dict=NULL, shift=NULL, crystal.name="", odd=attr(x, "odd"), ...) wp.inf.crystal(x, dict=NULL, shift=NULL, crystal.name="", odd=attr(x, "odd"), ...) wp.nd.crystal(x, dict=NULL, shift=NULL, crystal.name="", odd=attr(x, "odd"), ...)
wp.dict
.
"wp.crystal"
.
wp.inf.crystal
returns an object of class
"wp.inf.crystal"
, which inherits
from
"wp.crystal"
.
wp.nd.crystal
returns an object of class
"wp.nd.crystal"
, which inherits
from
"wp.crystal"
.
A crystal is a vector of coefficients, each of which corresponds to an atom.
All operations defined for atoms, such as
center
,
bandwidth
, etc., also
work for crystals with the obvious modification in behavior.
Arithmetic operations can be applied to crystals. Furthermore, crystals are
preserved under binary operations involving a scalar or two crystals of the
same type (e.g., same frequency and level in the case of wavelet crystals).
This allows operations on crystals to be performed transparently, such as
addition of crystals in a reconstruction algorithm or nonlinear shrinkage of
coefficients for smoothing. See the examples in
dwt
.