Learn R Programming

wavethresh (version 2.2-11)

support: Compute support of wavelet

Description

Computes the support of a wavelet

Usage

support(filter.number = 2, family = c("DaubExPhase", "DaubLeAsymm"),
        m = 0, n = 0)

Arguments

filter.number
integer; the number within the wavelet family whose support you wish to compute.
family
character string giving the family of wavelets that should be used.
m
the dilation number.
n
the translation number.

Value

  • A list containing the support of the wavelets. The list contains the following components:
  • lhThe left-hand end of the interval of the support of the wavelet.
  • rhThe right-hand end
  • psi.lhThe left-hand end of the support of the mother wavelet
  • psi.rhThe right-hand end
  • phi.lhThe left-hand end of the support of the scale function (father wavelet)
  • phi.rhThe right-hand end

RELEASE

Release 2.2 Copyright Guy Nason 1993

BUGS

As the example shows below, when m=0 and n=0 the lh and rh don't show the mother wavelet's support, but the wavelet above the mother wavelet. The calling functions allow for this.

Details

To draw a wavelet it is important to know it's support. support provides this information. If a new family of wavelets is added then their support needs to be determined and this function modified. This function needn't be called by the user in normal use. If the wavelet's aren't compactly supported then the support will not be a simple closed interval!

See Also

wr, draw.

Examples

Run this code
str(support())
## List of 6
##  $ lh    : num -2
##  $ rh    : num 4
##  $ psi.lh: num -1
##  $ psi.rh: num 2
##  $ phi.lh: num 0
##  $ phi.rh: num 3

Run the code above in your browser using DataLab