Learn R Programming

fields (version 5.02)

W.info: Gives indexing imfomration for a wavelet decompostion

Description

Functions for finding various indices and sizes of different parts of a 1-d multiresolution and converting to a sequential index.

Usage

W.info(m = 128, cut.min = 4)

W.i2s(ind, m, cut.min)

W.s2i(i, level, m, cut.min)

Arguments

Value

Return list for W.infomlength of seriescut.mincut.min (what else!)Sfirst and last indices for father waveletsHa matrix where rows are levels of resolution and columns are the first and last indices for the mother basis functions.Lnumber of basis funcion in each level of the mother wavelets.LmaxThe number of levels of resolutionoffsetA matrix where rows are levels of resolution and the columns is the offset index for the beginning of the indices for basis funtion at that resolution level.

Details

W.info gives summary information about the multiresolution. W.i2s converts a sequential index for the basis functions into a list with locations and levels. W.s2i is the inverse transformation from a list structure to an integer index.

See Also

Wtransform, Wtransform.image, plot.Wimage, Wimage.info

Examples

Run this code
# series of length 64 where the coarsest level is 8 father basis functions. 
W.info(64, 8)

#index for 4th basis location at the 2nd level

W.s2i( 4, 2, m=64, cut.min=8)
# location and level for the 48th basis function.
W.i2s( 48, m=64, cut.min=8)

Run the code above in your browser using DataLab