Module wavelet.wavelets.db16

Daubechies 16 wavelet

Expand source code
""" Daubechies 16 wavelet """


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

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

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        -2.1093396300980412e-08,
        2.3087840868545578e-07,
        - 7.363656785441815e-07,
        - 1.0435713423102517e-06,
        1.133660866126152e-05,
        - 1.394566898819319e-05,
        - 6.103596621404321e-05,
        0.00017478724522506327,
        0.00011424152003843815,
        - 0.0009410217493585433,
        0.00040789698084934395,
        0.00312802338120381,
        - 0.0036442796214883506,
        - 0.006990014563390751,
        0.013993768859843242,
        0.010297659641009963,
        - 0.036888397691556774,
        - 0.007588974368642594,
        0.07592423604445779,
        - 0.006239722752156254,
        - 0.13238830556335474,
        0.027340263752899923,
        0.21119069394696974,
        - 0.02791820813292813,
        - 0.3270633105274758,
        - 0.08975108940236352,
        0.44029025688580486,
        0.6373563320829833,
        0.43031272284545874,
        0.1650642834886438,
        0.03490771432362905,
        0.0031892209253436892
    ]

    # high-pass
    decompositionHighFilter = [
        -0.0031892209253436892,
        0.03490771432362905,
        - 0.1650642834886438,
        0.43031272284545874,
        - 0.6373563320829833,
        0.44029025688580486,
        0.08975108940236352,
        - 0.3270633105274758,
        0.02791820813292813,
        0.21119069394696974,
        - 0.027340263752899923,
        - 0.13238830556335474,
        0.006239722752156254,
        0.07592423604445779,
        0.007588974368642594,
        - 0.036888397691556774,
        - 0.010297659641009963,
        0.013993768859843242,
        0.006990014563390751,
        - 0.0036442796214883506,
        - 0.00312802338120381,
        0.00040789698084934395,
        0.0009410217493585433,
        0.00011424152003843815,
        - 0.00017478724522506327,
        - 6.103596621404321e-05,
        1.394566898819319e-05,
        1.133660866126152e-05,
        1.0435713423102517e-06,
        - 7.363656785441815e-07,
        - 2.3087840868545578e-07,
        - 2.1093396300980412e-08,
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.0031892209253436892,
        0.03490771432362905,
        0.1650642834886438,
        0.43031272284545874,
        0.6373563320829833,
        0.44029025688580486,
        - 0.08975108940236352,
        - 0.3270633105274758,
        - 0.02791820813292813,
        0.21119069394696974,
        0.027340263752899923,
        - 0.13238830556335474,
        - 0.006239722752156254,
        0.07592423604445779,
        - 0.007588974368642594,
        - 0.036888397691556774,
        0.010297659641009963,
        0.013993768859843242,
        - 0.006990014563390751,
        - 0.0036442796214883506,
        0.00312802338120381,
        0.00040789698084934395,
        - 0.0009410217493585433,
        0.00011424152003843815,
        0.00017478724522506327,
        - 6.103596621404321e-05,
        - 1.394566898819319e-05,
        1.133660866126152e-05,
        - 1.0435713423102517e-06,
        - 7.363656785441815e-07,
        2.3087840868545578e-07,
        - 2.1093396300980412e-08
    ]

    # high-pass
    reconstructionHighFilter = [
        -2.1093396300980412e-08,
        - 2.3087840868545578e-07,
        - 7.363656785441815e-07,
        1.0435713423102517e-06,
        1.133660866126152e-05,
        1.394566898819319e-05,
        - 6.103596621404321e-05,
        - 0.00017478724522506327,
        0.00011424152003843815,
        0.0009410217493585433,
        0.00040789698084934395,
        - 0.00312802338120381,
        - 0.0036442796214883506,
        0.006990014563390751,
        0.013993768859843242,
        - 0.010297659641009963,
        - 0.036888397691556774,
        0.007588974368642594,
        0.07592423604445779,
        0.006239722752156254,
        - 0.13238830556335474,
        - 0.027340263752899923,
        0.21119069394696974,
        0.02791820813292813,
        - 0.3270633105274758,
        0.08975108940236352,
        0.44029025688580486,
        - 0.6373563320829833,
        0.43031272284545874,
        - 0.1650642834886438,
        0.03490771432362905,
        - 0.0031892209253436892
    ]

Classes

class Daubechies16

Properties

asymmetric, orthogonal, bi-orthogonal

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

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

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

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        -2.1093396300980412e-08,
        2.3087840868545578e-07,
        - 7.363656785441815e-07,
        - 1.0435713423102517e-06,
        1.133660866126152e-05,
        - 1.394566898819319e-05,
        - 6.103596621404321e-05,
        0.00017478724522506327,
        0.00011424152003843815,
        - 0.0009410217493585433,
        0.00040789698084934395,
        0.00312802338120381,
        - 0.0036442796214883506,
        - 0.006990014563390751,
        0.013993768859843242,
        0.010297659641009963,
        - 0.036888397691556774,
        - 0.007588974368642594,
        0.07592423604445779,
        - 0.006239722752156254,
        - 0.13238830556335474,
        0.027340263752899923,
        0.21119069394696974,
        - 0.02791820813292813,
        - 0.3270633105274758,
        - 0.08975108940236352,
        0.44029025688580486,
        0.6373563320829833,
        0.43031272284545874,
        0.1650642834886438,
        0.03490771432362905,
        0.0031892209253436892
    ]

    # high-pass
    decompositionHighFilter = [
        -0.0031892209253436892,
        0.03490771432362905,
        - 0.1650642834886438,
        0.43031272284545874,
        - 0.6373563320829833,
        0.44029025688580486,
        0.08975108940236352,
        - 0.3270633105274758,
        0.02791820813292813,
        0.21119069394696974,
        - 0.027340263752899923,
        - 0.13238830556335474,
        0.006239722752156254,
        0.07592423604445779,
        0.007588974368642594,
        - 0.036888397691556774,
        - 0.010297659641009963,
        0.013993768859843242,
        0.006990014563390751,
        - 0.0036442796214883506,
        - 0.00312802338120381,
        0.00040789698084934395,
        0.0009410217493585433,
        0.00011424152003843815,
        - 0.00017478724522506327,
        - 6.103596621404321e-05,
        1.394566898819319e-05,
        1.133660866126152e-05,
        1.0435713423102517e-06,
        - 7.363656785441815e-07,
        - 2.3087840868545578e-07,
        - 2.1093396300980412e-08,
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.0031892209253436892,
        0.03490771432362905,
        0.1650642834886438,
        0.43031272284545874,
        0.6373563320829833,
        0.44029025688580486,
        - 0.08975108940236352,
        - 0.3270633105274758,
        - 0.02791820813292813,
        0.21119069394696974,
        0.027340263752899923,
        - 0.13238830556335474,
        - 0.006239722752156254,
        0.07592423604445779,
        - 0.007588974368642594,
        - 0.036888397691556774,
        0.010297659641009963,
        0.013993768859843242,
        - 0.006990014563390751,
        - 0.0036442796214883506,
        0.00312802338120381,
        0.00040789698084934395,
        - 0.0009410217493585433,
        0.00011424152003843815,
        0.00017478724522506327,
        - 6.103596621404321e-05,
        - 1.394566898819319e-05,
        1.133660866126152e-05,
        - 1.0435713423102517e-06,
        - 7.363656785441815e-07,
        2.3087840868545578e-07,
        - 2.1093396300980412e-08
    ]

    # high-pass
    reconstructionHighFilter = [
        -2.1093396300980412e-08,
        - 2.3087840868545578e-07,
        - 7.363656785441815e-07,
        1.0435713423102517e-06,
        1.133660866126152e-05,
        1.394566898819319e-05,
        - 6.103596621404321e-05,
        - 0.00017478724522506327,
        0.00011424152003843815,
        0.0009410217493585433,
        0.00040789698084934395,
        - 0.00312802338120381,
        - 0.0036442796214883506,
        0.006990014563390751,
        0.013993768859843242,
        - 0.010297659641009963,
        - 0.036888397691556774,
        0.007588974368642594,
        0.07592423604445779,
        0.006239722752156254,
        - 0.13238830556335474,
        - 0.027340263752899923,
        0.21119069394696974,
        0.02791820813292813,
        - 0.3270633105274758,
        0.08975108940236352,
        0.44029025688580486,
        - 0.6373563320829833,
        0.43031272284545874,
        - 0.1650642834886438,
        0.03490771432362905,
        - 0.0031892209253436892
    ]

Class variables

var decompositionHighFilter
var decompositionLowFilter
var reconstructionHighFilter
var reconstructionLowFilter