public abstract class JWave_Wavelet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double[] |
_coeffs
coefficients of the wavelet; wavelet function
|
protected double[] |
_scales
coefficients of the scales; scaling function
|
protected int |
_waveLength
minimal wavelength of the used wavelet and scaling coefficients
|
Constructor and Description |
---|
JWave_Wavelet()
Constructor; predefine members to init values
|
Modifier and Type | Method and Description |
---|---|
double[] |
forward(double[] arrTime)
Performs the forward transform for the given array from time domain to Hilbert domain and returns a new array of
the same size keeping coefficients of Hilbert domain and should be of length 2 to the power of p -- length = 2^p
where p is a positive integer.
|
int |
getWaveLength()
Returns the minimal wavelength for the used wavelet.
|
double[] |
reverse(double[] arrHilb)
Performs the reverse transform for the given array from Hilbert domain to time domain and returns a new array of
the same size keeping coefficients of time domain and should be of length 2 to the power of p -- length = 2^p
where p is a positive integer.
|
protected int _waveLength
protected double[] _coeffs
protected double[] _scales
public JWave_Wavelet()
public double[] forward(double[] arrTime)
arrTime
- array keeping time domain coefficientspublic double[] reverse(double[] arrHilb)
arrHilb
- array keeping frequency domain coefficientspublic int getWaveLength()