abt2dwpsp()
[A]rray [B]inary [T]ree to [D]iscrete [W]avelet [P]acket
[S]ynthesis, [P]eriodic
Calling sequence and basic algorithm:
abt2dwpsp( DATA, N, MAXLEVEL, HQF, GQF ):
Let L = MAXLEVEL
While L>0
Let NCHILD = abtblength( N, L )
L -= 1
For B = 0 to (1<abtblength(int, int) -
Static method in class wavelet.Packet
tdim()
Theoretical dimension of a sequence
Calling sequence and basic algorithm:
tdim( U, LEAST, FINAL ):
Let MU2LOGU2 = 0
Let ENERGY = 0
For K = LEAST to FINAL
Let USQ = U[K] * U[K]
If USQ > 0 then
MU2LOGU2 -= USQ * log( USQ )
ENERGY += USQ
If ENERGY > 0 then
Let THEODIM = ENERGY * exp( MU2LOGU2 / ENERGY )
Else
Let THEODIM = 1
Return THEODIM
Inputs:
(double []) u This must point to a preallocated array.
static arrays of different Wavelet filters
These Wavelet filters were ported from the package 'wvlt' written
in C to Java by Reynald Hoskinson, 1999-2001.