Module wavelet.wavelets.db3

Daubechies 3 wavelet

Expand source code
""" Daubechies 3 wavelet """


class Daubechies3:
    """
    Properties
    ----------
    asymmetric, orthogonal, bi-orthogonal

    All values are from http://wavelets.pybytes.com/wavelet/db3/
    """
    __name__ = "Daubechies Wavelet 3"
    __motherWaveletLength__ = 6  # length of the mother wavelet
    __transformWaveletLength__ = 2  # minimum wavelength of input signal

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        0.035226291882100656,
        - 0.08544127388224149,
        - 0.13501102001039084,
        0.4598775021193313,
        0.8068915093133388,
        0.3326705529509569
    ]

    # high-pass
    decompositionHighFilter = [
        -0.3326705529509569,
        0.8068915093133388,
        - 0.4598775021193313,
        - 0.13501102001039084,
        0.08544127388224149,
        0.035226291882100656
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.3326705529509569,
        0.8068915093133388,
        0.4598775021193313,
        - 0.13501102001039084,
        - 0.08544127388224149,
        0.035226291882100656
    ]

    # high-pass
    reconstructionHighFilter = [
        0.035226291882100656,
        0.08544127388224149,
        - 0.13501102001039084,
        - 0.4598775021193313,
        0.8068915093133388,
        - 0.3326705529509569
    ]

Classes

class Daubechies3

Properties

asymmetric, orthogonal, bi-orthogonal

All values are from http://wavelets.pybytes.com/wavelet/db3/

Expand source code
class Daubechies3:
    """
    Properties
    ----------
    asymmetric, orthogonal, bi-orthogonal

    All values are from http://wavelets.pybytes.com/wavelet/db3/
    """
    __name__ = "Daubechies Wavelet 3"
    __motherWaveletLength__ = 6  # length of the mother wavelet
    __transformWaveletLength__ = 2  # minimum wavelength of input signal

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        0.035226291882100656,
        - 0.08544127388224149,
        - 0.13501102001039084,
        0.4598775021193313,
        0.8068915093133388,
        0.3326705529509569
    ]

    # high-pass
    decompositionHighFilter = [
        -0.3326705529509569,
        0.8068915093133388,
        - 0.4598775021193313,
        - 0.13501102001039084,
        0.08544127388224149,
        0.035226291882100656
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.3326705529509569,
        0.8068915093133388,
        0.4598775021193313,
        - 0.13501102001039084,
        - 0.08544127388224149,
        0.035226291882100656
    ]

    # high-pass
    reconstructionHighFilter = [
        0.035226291882100656,
        0.08544127388224149,
        - 0.13501102001039084,
        - 0.4598775021193313,
        0.8068915093133388,
        - 0.3326705529509569
    ]

Class variables

var decompositionHighFilter
var decompositionLowFilter
var reconstructionHighFilter
var reconstructionLowFilter