Module wavelet.wavelets.db19

Daubechies 19 wavelet

Expand source code
""" Daubechies 19 wavelet """


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

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

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        8.666848839034483e-10,
        -1.1164020670405678e-08,
        4.636937775802368e-08,
        1.447088298804088e-08,
        -6.86275565779811e-07,
        1.531931476697877e-06,
        3.0109643163099385e-06,
        -1.664017629722462e-05,
        5.105950487090694e-06,
        8.711270467250443e-05,
        -0.00012460079173506306,
        -0.0002606761356811995,
        0.0007358025205041731,
        0.00034180865344939543,
        -0.002687551800734441,
        0.0007689543592242488,
        0.007040747367080495,
        -0.005866922281112195,
        -0.013988388678695632,
        0.019375549889114482,
        0.021623767409452484,
        -0.04567422627778492,
        -0.026501236250778635,
        0.0869067555554507,
        0.02758435062488713,
        -0.14278569504021468,
        -0.03351854190320226,
        0.21234974330662043,
        0.07465226970806647,
        -0.28583863175723145,
        -0.22809139421653665,
        0.2608949526521201,
        0.6017045491300916,
        0.5244363774668862,
        0.26438843174202237,
        0.08127811326580564,
        0.01428109845082521,
        0.0011086697631864314
    ]

    # high-pass
    decompositionHighFilter = [
        -0.0011086697631864314,
        0.01428109845082521,
        -0.08127811326580564,
        0.26438843174202237,
        -0.5244363774668862,
        0.6017045491300916,
        -0.2608949526521201,
        -0.22809139421653665,
        0.28583863175723145,
        0.07465226970806647,
        -0.21234974330662043,
        -0.03351854190320226,
        0.14278569504021468,
        0.02758435062488713,
        -0.0869067555554507,
        -0.026501236250778635,
        0.04567422627778492,
        0.021623767409452484,
        -0.019375549889114482,
        -0.013988388678695632,
        0.005866922281112195,
        0.007040747367080495,
        -0.0007689543592242488,
        -0.002687551800734441,
        -0.00034180865344939543,
        0.0007358025205041731,
        0.0002606761356811995,
        -0.00012460079173506306,
        -8.711270467250443e-05,
        5.105950487090694e-06,
        1.664017629722462e-05,
        3.0109643163099385e-06,
        -1.531931476697877e-06,
        -6.86275565779811e-07,
        -1.447088298804088e-08,
        4.636937775802368e-08,
        1.1164020670405678e-08,
        8.666848839034483e-10
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.0011086697631864314,
        0.01428109845082521,
        0.08127811326580564,
        0.26438843174202237,
        0.5244363774668862,
        0.6017045491300916,
        0.2608949526521201,
        -0.22809139421653665,
        -0.28583863175723145,
        0.07465226970806647,
        0.21234974330662043,
        -0.03351854190320226,
        -0.14278569504021468,
        0.02758435062488713,
        0.0869067555554507,
        -0.026501236250778635,
        -0.04567422627778492,
        0.021623767409452484,
        0.019375549889114482,
        -0.013988388678695632,
        -0.005866922281112195,
        0.007040747367080495,
        0.0007689543592242488,
        -0.002687551800734441,
        0.00034180865344939543,
        0.0007358025205041731,
        -0.0002606761356811995,
        -0.00012460079173506306,
        8.711270467250443e-05,
        5.105950487090694e-06,
        -1.664017629722462e-05,
        3.0109643163099385e-06,
        1.531931476697877e-06,
        -6.86275565779811e-07,
        1.447088298804088e-08,
        4.636937775802368e-08,
        -1.1164020670405678e-08,
        8.666848839034483e-10
    ]

    # high-pass
    reconstructionHighFilter = [
        8.666848839034483e-10,
        1.1164020670405678e-08,
        4.636937775802368e-08,
        -1.447088298804088e-08,
        -6.86275565779811e-07,
        -1.531931476697877e-06,
        3.0109643163099385e-06,
        1.664017629722462e-05,
        5.105950487090694e-06,
        -8.711270467250443e-05,
        -0.00012460079173506306,
        0.0002606761356811995,
        0.0007358025205041731,
        -0.00034180865344939543,
        -0.002687551800734441,
        -0.0007689543592242488,
        0.007040747367080495,
        0.005866922281112195,
        -0.013988388678695632,
        -0.019375549889114482,
        0.021623767409452484,
        0.04567422627778492,
        -0.026501236250778635,
        -0.0869067555554507,
        0.02758435062488713,
        0.14278569504021468,
        -0.03351854190320226,
        -0.21234974330662043,
        0.07465226970806647,
        0.28583863175723145,
        -0.22809139421653665,
        -0.2608949526521201,
        0.6017045491300916,
        -0.5244363774668862,
        0.26438843174202237,
        -0.08127811326580564,
        0.01428109845082521,
        -0.0011086697631864314
    ]

Classes

class Daubechies19

Properties

asymmetric, orthogonal, bi-orthogonal

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

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

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

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        8.666848839034483e-10,
        -1.1164020670405678e-08,
        4.636937775802368e-08,
        1.447088298804088e-08,
        -6.86275565779811e-07,
        1.531931476697877e-06,
        3.0109643163099385e-06,
        -1.664017629722462e-05,
        5.105950487090694e-06,
        8.711270467250443e-05,
        -0.00012460079173506306,
        -0.0002606761356811995,
        0.0007358025205041731,
        0.00034180865344939543,
        -0.002687551800734441,
        0.0007689543592242488,
        0.007040747367080495,
        -0.005866922281112195,
        -0.013988388678695632,
        0.019375549889114482,
        0.021623767409452484,
        -0.04567422627778492,
        -0.026501236250778635,
        0.0869067555554507,
        0.02758435062488713,
        -0.14278569504021468,
        -0.03351854190320226,
        0.21234974330662043,
        0.07465226970806647,
        -0.28583863175723145,
        -0.22809139421653665,
        0.2608949526521201,
        0.6017045491300916,
        0.5244363774668862,
        0.26438843174202237,
        0.08127811326580564,
        0.01428109845082521,
        0.0011086697631864314
    ]

    # high-pass
    decompositionHighFilter = [
        -0.0011086697631864314,
        0.01428109845082521,
        -0.08127811326580564,
        0.26438843174202237,
        -0.5244363774668862,
        0.6017045491300916,
        -0.2608949526521201,
        -0.22809139421653665,
        0.28583863175723145,
        0.07465226970806647,
        -0.21234974330662043,
        -0.03351854190320226,
        0.14278569504021468,
        0.02758435062488713,
        -0.0869067555554507,
        -0.026501236250778635,
        0.04567422627778492,
        0.021623767409452484,
        -0.019375549889114482,
        -0.013988388678695632,
        0.005866922281112195,
        0.007040747367080495,
        -0.0007689543592242488,
        -0.002687551800734441,
        -0.00034180865344939543,
        0.0007358025205041731,
        0.0002606761356811995,
        -0.00012460079173506306,
        -8.711270467250443e-05,
        5.105950487090694e-06,
        1.664017629722462e-05,
        3.0109643163099385e-06,
        -1.531931476697877e-06,
        -6.86275565779811e-07,
        -1.447088298804088e-08,
        4.636937775802368e-08,
        1.1164020670405678e-08,
        8.666848839034483e-10
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.0011086697631864314,
        0.01428109845082521,
        0.08127811326580564,
        0.26438843174202237,
        0.5244363774668862,
        0.6017045491300916,
        0.2608949526521201,
        -0.22809139421653665,
        -0.28583863175723145,
        0.07465226970806647,
        0.21234974330662043,
        -0.03351854190320226,
        -0.14278569504021468,
        0.02758435062488713,
        0.0869067555554507,
        -0.026501236250778635,
        -0.04567422627778492,
        0.021623767409452484,
        0.019375549889114482,
        -0.013988388678695632,
        -0.005866922281112195,
        0.007040747367080495,
        0.0007689543592242488,
        -0.002687551800734441,
        0.00034180865344939543,
        0.0007358025205041731,
        -0.0002606761356811995,
        -0.00012460079173506306,
        8.711270467250443e-05,
        5.105950487090694e-06,
        -1.664017629722462e-05,
        3.0109643163099385e-06,
        1.531931476697877e-06,
        -6.86275565779811e-07,
        1.447088298804088e-08,
        4.636937775802368e-08,
        -1.1164020670405678e-08,
        8.666848839034483e-10
    ]

    # high-pass
    reconstructionHighFilter = [
        8.666848839034483e-10,
        1.1164020670405678e-08,
        4.636937775802368e-08,
        -1.447088298804088e-08,
        -6.86275565779811e-07,
        -1.531931476697877e-06,
        3.0109643163099385e-06,
        1.664017629722462e-05,
        5.105950487090694e-06,
        -8.711270467250443e-05,
        -0.00012460079173506306,
        0.0002606761356811995,
        0.0007358025205041731,
        -0.00034180865344939543,
        -0.002687551800734441,
        -0.0007689543592242488,
        0.007040747367080495,
        0.005866922281112195,
        -0.013988388678695632,
        -0.019375549889114482,
        0.021623767409452484,
        0.04567422627778492,
        -0.026501236250778635,
        -0.0869067555554507,
        0.02758435062488713,
        0.14278569504021468,
        -0.03351854190320226,
        -0.21234974330662043,
        0.07465226970806647,
        0.28583863175723145,
        -0.22809139421653665,
        -0.2608949526521201,
        0.6017045491300916,
        -0.5244363774668862,
        0.26438843174202237,
        -0.08127811326580564,
        0.01428109845082521,
        -0.0011086697631864314
    ]

Class variables

var decompositionHighFilter
var decompositionLowFilter
var reconstructionHighFilter
var reconstructionLowFilter