Module wavelet.wavelets.db14

Daubechies 14 wavelet

Expand source code
""" Daubechies 14 wavelet """


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

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

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        -1.7871399683109222e-07,
        1.7249946753674012e-06,
        - 4.389704901780418e-06,
        - 1.0337209184568496e-05,
        6.875504252695734e-05,
        - 4.177724577037067e-05,
        - 0.00038683194731287514,
        0.0007080211542354048,
        0.001061691085606874,
        - 0.003849638868019787,
        - 0.0007462189892638753,
        0.01278949326634007,
        - 0.0056150495303375755,
        - 0.030185351540353976,
        0.02698140830794797,
        0.05523712625925082,
        - 0.0715489555039835,
        - 0.0867484115681106,
        0.13998901658445695,
        0.13839521386479153,
        - 0.2180335299932165,
        - 0.27168855227867705,
        0.21867068775886594,
        0.6311878491047198,
        0.5543056179407709,
        0.25485026779256437,
        0.062364758849384874,
        0.0064611534600864905
    ]

    # high-pass
    decompositionHighFilter = [
        -0.0064611534600864905,
        0.062364758849384874,
        - 0.25485026779256437,
        0.5543056179407709,
        - 0.6311878491047198,
        0.21867068775886594,
        0.27168855227867705,
        - 0.2180335299932165,
        - 0.13839521386479153,
        0.13998901658445695,
        0.0867484115681106,
        - 0.0715489555039835,
        - 0.05523712625925082,
        0.02698140830794797,
        0.030185351540353976,
        - 0.0056150495303375755,
        - 0.01278949326634007,
        - 0.0007462189892638753,
        0.003849638868019787,
        0.001061691085606874,
        - 0.0007080211542354048,
        - 0.00038683194731287514,
        4.177724577037067e-05,
        6.875504252695734e-05,
        1.0337209184568496e-05,
        - 4.389704901780418e-06,
        - 1.7249946753674012e-06,
        - 1.7871399683109222e-07
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.0064611534600864905,
        0.062364758849384874,
        0.25485026779256437,
        0.5543056179407709,
        0.6311878491047198,
        0.21867068775886594,
        - 0.27168855227867705,
        - 0.2180335299932165,
        0.13839521386479153,
        0.13998901658445695,
        - 0.0867484115681106,
        - 0.0715489555039835,
        0.05523712625925082,
        0.02698140830794797,
        - 0.030185351540353976,
        - 0.0056150495303375755,
        0.01278949326634007,
        - 0.0007462189892638753,
        - 0.003849638868019787,
        0.001061691085606874,
        0.0007080211542354048,
        - 0.00038683194731287514,
        - 4.177724577037067e-05,
        6.875504252695734e-05,
        - 1.0337209184568496e-05,
        - 4.389704901780418e-06,
        1.7249946753674012e-06,
        - 1.7871399683109222e-07
    ]

    # high-pass
    reconstructionHighFilter = [
        -1.7871399683109222e-07,
        - 1.7249946753674012e-06,
        - 4.389704901780418e-06,
        1.0337209184568496e-05,
        6.875504252695734e-05,
        4.177724577037067e-05,
        - 0.00038683194731287514,
        - 0.0007080211542354048,
        0.001061691085606874,
        0.003849638868019787,
        - 0.0007462189892638753,
        - 0.01278949326634007,
        - 0.0056150495303375755,
        0.030185351540353976,
        0.02698140830794797,
        - 0.05523712625925082,
        - 0.0715489555039835,
        0.0867484115681106,
        0.13998901658445695,
        - 0.13839521386479153,
        - 0.2180335299932165,
        0.27168855227867705,
        0.21867068775886594,
        - 0.6311878491047198,
        0.5543056179407709,
        - 0.25485026779256437,
        0.062364758849384874,
        - 0.0064611534600864905
    ]

Classes

class Daubechies14

Properties

asymmetric, orthogonal, bi-orthogonal

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

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

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

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        -1.7871399683109222e-07,
        1.7249946753674012e-06,
        - 4.389704901780418e-06,
        - 1.0337209184568496e-05,
        6.875504252695734e-05,
        - 4.177724577037067e-05,
        - 0.00038683194731287514,
        0.0007080211542354048,
        0.001061691085606874,
        - 0.003849638868019787,
        - 0.0007462189892638753,
        0.01278949326634007,
        - 0.0056150495303375755,
        - 0.030185351540353976,
        0.02698140830794797,
        0.05523712625925082,
        - 0.0715489555039835,
        - 0.0867484115681106,
        0.13998901658445695,
        0.13839521386479153,
        - 0.2180335299932165,
        - 0.27168855227867705,
        0.21867068775886594,
        0.6311878491047198,
        0.5543056179407709,
        0.25485026779256437,
        0.062364758849384874,
        0.0064611534600864905
    ]

    # high-pass
    decompositionHighFilter = [
        -0.0064611534600864905,
        0.062364758849384874,
        - 0.25485026779256437,
        0.5543056179407709,
        - 0.6311878491047198,
        0.21867068775886594,
        0.27168855227867705,
        - 0.2180335299932165,
        - 0.13839521386479153,
        0.13998901658445695,
        0.0867484115681106,
        - 0.0715489555039835,
        - 0.05523712625925082,
        0.02698140830794797,
        0.030185351540353976,
        - 0.0056150495303375755,
        - 0.01278949326634007,
        - 0.0007462189892638753,
        0.003849638868019787,
        0.001061691085606874,
        - 0.0007080211542354048,
        - 0.00038683194731287514,
        4.177724577037067e-05,
        6.875504252695734e-05,
        1.0337209184568496e-05,
        - 4.389704901780418e-06,
        - 1.7249946753674012e-06,
        - 1.7871399683109222e-07
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.0064611534600864905,
        0.062364758849384874,
        0.25485026779256437,
        0.5543056179407709,
        0.6311878491047198,
        0.21867068775886594,
        - 0.27168855227867705,
        - 0.2180335299932165,
        0.13839521386479153,
        0.13998901658445695,
        - 0.0867484115681106,
        - 0.0715489555039835,
        0.05523712625925082,
        0.02698140830794797,
        - 0.030185351540353976,
        - 0.0056150495303375755,
        0.01278949326634007,
        - 0.0007462189892638753,
        - 0.003849638868019787,
        0.001061691085606874,
        0.0007080211542354048,
        - 0.00038683194731287514,
        - 4.177724577037067e-05,
        6.875504252695734e-05,
        - 1.0337209184568496e-05,
        - 4.389704901780418e-06,
        1.7249946753674012e-06,
        - 1.7871399683109222e-07
    ]

    # high-pass
    reconstructionHighFilter = [
        -1.7871399683109222e-07,
        - 1.7249946753674012e-06,
        - 4.389704901780418e-06,
        1.0337209184568496e-05,
        6.875504252695734e-05,
        4.177724577037067e-05,
        - 0.00038683194731287514,
        - 0.0007080211542354048,
        0.001061691085606874,
        0.003849638868019787,
        - 0.0007462189892638753,
        - 0.01278949326634007,
        - 0.0056150495303375755,
        0.030185351540353976,
        0.02698140830794797,
        - 0.05523712625925082,
        - 0.0715489555039835,
        0.0867484115681106,
        0.13998901658445695,
        - 0.13839521386479153,
        - 0.2180335299932165,
        0.27168855227867705,
        0.21867068775886594,
        - 0.6311878491047198,
        0.5543056179407709,
        - 0.25485026779256437,
        0.062364758849384874,
        - 0.0064611534600864905
    ]

Class variables

var decompositionHighFilter
var decompositionLowFilter
var reconstructionHighFilter
var reconstructionLowFilter