wpst2discr: Reshape/reformat packet coefficients into a multivariate data...

wpst2discrR Documentation

Reshape/reformat packet coefficients into a multivariate data set

Description

The packet coefficients of a nondecimated wavelet packet object are stored internally in an efficient form. This function takes the nondecimated wavelet packets and stores them as a matrix (multivariate data set). Each column in the returned matrix corresponds to an individual packet, each row corresponds to a time index in the original packet or time series.

Usage

wpst2discr(wpstobj, groups)

Arguments

wpstobj

A wpst class object, output from wpst say

groups

A time series containing the group membership at each time point

Details

Description says it all

Value

An object of class w2d which is a list containing the following items:

m

The matrix containing columns of packet information.

groups

Passes through the group argument from input.

level

Each column corresponds to a packet, this vector contains the information on which resolution level each packet comes from

pktix

Like for level but for packet indices

nlevelsWT

The number of resolution levels in total, from the wpst object

Author(s)

G P Nason

See Also

makewpstDO, wpst


wavethresh documentation built on Sept. 11, 2024, 9:33 p.m.