wavBestBasis: DWPT Best basis selection

Description

The discrete wavelet packet transform (DWPT) contains a multitude of
disjoint dyadic decompositions representing an ensemble of different
bases. Best basis selection is an attempt to isloate one such basis
in an optimal way.

Usage

1

Arguments

costs

a numeric vector containing the costs for each
crystal in a DWPT in
C(W(0,0)), C(W(1,0)), C(W(1,1)), C(W(2,0)), ..., C(W(J,2^J-1))
order where C() is the additive cost functional and
W(j,n) is the DWPT crystal at level j and oscillation (local node)
index n for j=1,...,J.