Learn R Programming

wavethresh (version 4.6.1)

av.basis: Perform basis averaging for wst class object

Description

Note: that this function is not for direct user use. This function is a helper routine for the AvBasis.wst function which is the one that should be used by users.

This function works by recursion, essentially it merges the current levels C coefficients from one packet shift with its associated D coefficients, does the same for the other packet shift and then averages the two reconstructions to provide the C coefficients for the next level up.

Usage

av.basis(wst, level, ix1, ix2, filter)

Arguments

wst
The wst.object that you wish to basis average
level
The resolution level the function is currently operating at
ix1
Which "left" packet in the level you are accessing
ix2
Which "right" packet
filter
The wavelet filter details, see filter.select

Value

  • Returns the average basis reconstruction of a wst.object.

Details

Description says all, see help page for AvBasis.wst.

See Also

AvBasis, AvBasis.wst, conbar, rotateback, getpacket