Wavelet
math.jwave.transforms.wavelets

Class Wavelet

    • Constructor Summary

      Constructors 
      Constructor and Description
      Wavelet()
      Constructor; predefine members to init values
    • Method Summary

      Methods 
      Modifier and TypeMethod 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.
      double[]getCoeffs()
      Returns a double array with the coeffs.
      intgetLength()
      Returns the number of coeffs (and scales).
      double[]getScales()
      Returns a double array with the scales (of a wavelet).
      intgetWaveLength()
      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.
    • Constructor Detail

      • Wavelet

        public Wavelet()
        Constructor; predefine members to init values
    • Method Detail

      • forward

        public 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.
        Specified by:
        forward in interface WaveletInterface
        Parameters:
        arrTime - array keeping time domain coefficients
        Returns:
        coefficients represented by frequency domain
      • reverse

        public 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.
        Specified by:
        reverse in interface WaveletInterface
        Parameters:
        arrHilb - array keeping frequency domain coefficients
        Returns:
        coefficients represented by time domain
      • getWaveLength

        public int getWaveLength()
        Returns the minimal wavelength for the used wavelet.
        Specified by:
        getWaveLength in interface WaveletInterface
        Returns:
        the minimal wavelength for this basic wave
      • getLength

        public int getLength()
        Returns the number of coeffs (and scales).
        Returns:
        integer representing the number of coeffs.
      • getCoeffs

        public double[] getCoeffs()
        Returns a double array with the coeffs.
        Specified by:
        getCoeffs in interface WaveletInterface
        Returns:
        double array keeping the coeffs.
      • getScales

        public double[] getScales()
        Returns a double array with the scales (of a wavelet).
        Specified by:
        getScales in interface WaveletInterface
        Returns:
        double array keeping the scales.

SCaVis 1.8 © jWork.org