Module wavelet.wavelets.db8

Daubechies 8 wavelet

Expand source code
""" Daubechies 8 wavelet """


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

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

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        -0.00011747678400228192,
        0.0006754494059985568,
        - 0.0003917403729959771,
        - 0.00487035299301066,
        0.008746094047015655,
        0.013981027917015516,
        - 0.04408825393106472,
        - 0.01736930100202211,
        0.128747426620186,
        0.00047248457399797254,
        - 0.2840155429624281,
        - 0.015829105256023893,
        0.5853546836548691,
        0.6756307362980128,
        0.3128715909144659,
        0.05441584224308161
    ]

    # high-pass
    decompositionHighFilter = [
        -0.05441584224308161,
        0.3128715909144659,
        - 0.6756307362980128,
        0.5853546836548691,
        0.015829105256023893,
        - 0.2840155429624281,
        - 0.00047248457399797254,
        0.128747426620186,
        0.01736930100202211,
        - 0.04408825393106472,
        - 0.013981027917015516,
        0.008746094047015655,
        0.00487035299301066,
        - 0.0003917403729959771,
        - 0.0006754494059985568,
        - 0.00011747678400228192
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.05441584224308161,
        0.3128715909144659,
        0.6756307362980128,
        0.5853546836548691,
        - 0.015829105256023893,
        - 0.2840155429624281,
        0.00047248457399797254,
        0.128747426620186,
        - 0.01736930100202211,
        - 0.04408825393106472,
        0.013981027917015516,
        0.008746094047015655,
        - 0.00487035299301066,
        - 0.0003917403729959771,
        0.0006754494059985568,
        - 0.00011747678400228192
    ]

    # high-pass
    reconstructionHighFilter = [
        -0.00011747678400228192,
        - 0.0006754494059985568,
        - 0.0003917403729959771,
        0.00487035299301066,
        0.008746094047015655,
        - 0.013981027917015516,
        - 0.04408825393106472,
        0.01736930100202211,
        0.128747426620186,
        - 0.00047248457399797254,
        - 0.2840155429624281,
        0.015829105256023893,
        0.5853546836548691,
        - 0.6756307362980128,
        0.3128715909144659,
        - 0.05441584224308161,
    ]

Classes

class Daubechies8

Properties

asymmetric, orthogonal, bi-orthogonal

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

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

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

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        -0.00011747678400228192,
        0.0006754494059985568,
        - 0.0003917403729959771,
        - 0.00487035299301066,
        0.008746094047015655,
        0.013981027917015516,
        - 0.04408825393106472,
        - 0.01736930100202211,
        0.128747426620186,
        0.00047248457399797254,
        - 0.2840155429624281,
        - 0.015829105256023893,
        0.5853546836548691,
        0.6756307362980128,
        0.3128715909144659,
        0.05441584224308161
    ]

    # high-pass
    decompositionHighFilter = [
        -0.05441584224308161,
        0.3128715909144659,
        - 0.6756307362980128,
        0.5853546836548691,
        0.015829105256023893,
        - 0.2840155429624281,
        - 0.00047248457399797254,
        0.128747426620186,
        0.01736930100202211,
        - 0.04408825393106472,
        - 0.013981027917015516,
        0.008746094047015655,
        0.00487035299301066,
        - 0.0003917403729959771,
        - 0.0006754494059985568,
        - 0.00011747678400228192
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.05441584224308161,
        0.3128715909144659,
        0.6756307362980128,
        0.5853546836548691,
        - 0.015829105256023893,
        - 0.2840155429624281,
        0.00047248457399797254,
        0.128747426620186,
        - 0.01736930100202211,
        - 0.04408825393106472,
        0.013981027917015516,
        0.008746094047015655,
        - 0.00487035299301066,
        - 0.0003917403729959771,
        0.0006754494059985568,
        - 0.00011747678400228192
    ]

    # high-pass
    reconstructionHighFilter = [
        -0.00011747678400228192,
        - 0.0006754494059985568,
        - 0.0003917403729959771,
        0.00487035299301066,
        0.008746094047015655,
        - 0.013981027917015516,
        - 0.04408825393106472,
        0.01736930100202211,
        0.128747426620186,
        - 0.00047248457399797254,
        - 0.2840155429624281,
        0.015829105256023893,
        0.5853546836548691,
        - 0.6756307362980128,
        0.3128715909144659,
        - 0.05441584224308161,
    ]

Class variables

var decompositionHighFilter
var decompositionLowFilter
var reconstructionHighFilter
var reconstructionLowFilter