Package de.gsi.math.spectra.wavelet
Class WaveletTransform
- java.lang.Object
-
- de.gsi.math.spectra.wavelet.WaveletCoefficients
-
- de.gsi.math.spectra.wavelet.WaveletTransform
-
public class WaveletTransform extends WaveletCoefficients
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.gsi.math.spectra.wavelet.WaveletCoefficients
WaveletCoefficients.MODE, WaveletCoefficients.Wavelet
-
-
Field Summary
Fields Modifier and Type Field Description protected doubledenomprotected doubleg0protected doubleg1protected doubleg2protected doubleg3protected doubleh0protected doubleh1protected doubleh2protected doubleh3protected doubleIg0protected doubleIg1protected doubleIg2protected doubleIg3protected doubleIh0protected doubleIh1protected doubleIh2protected doubleIh3protected doublesqrt_3
-
Constructor Summary
Constructors Constructor Description WaveletTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddaubTrans(double[] s)Forward wavelet transformvoidinvDaubTrans(double[] coef)Inverse wavelet transformdouble[]invoke(double[] input)protected voidinvTransform(double[] a, int n)protected voidtransform(double[] a, int n)Forward wavelet transform.
-
-
-
Field Detail
-
sqrt_3
protected final double sqrt_3
-
denom
protected final double denom
-
h0
protected final double h0
-
h1
protected final double h1
-
h2
protected final double h2
-
h3
protected final double h3
-
g0
protected final double g0
-
g1
protected final double g1
-
g2
protected final double g2
-
g3
protected final double g3
-
Ih0
protected final double Ih0
-
Ih1
protected final double Ih1
-
Ih2
protected final double Ih2
-
Ih3
protected final double Ih3
-
Ig0
protected final double Ig0
-
Ig1
protected final double Ig1
-
Ig2
protected final double Ig2
-
Ig3
protected final double Ig3
-
-
Method Detail
-
daubTrans
public void daubTrans(double[] s)
Forward wavelet transform- Parameters:
s- input vector
-
invDaubTrans
public void invDaubTrans(double[] coef)
Inverse wavelet transform- Parameters:
coef- input vector
-
invoke
public double[] invoke(double[] input)
-
invTransform
protected void invTransform(double[] a, int n)
-
transform
protected void transform(double[] a, int n)Forward wavelet transform.
Note that at the end of the computation the calculation wraps around to the beginning of the signal.
- Parameters:
a- input signal, which will be replaced by its output transformn- length of the signal, and must be a power of 2
-
-