Module wavelet.wavelets.sym2

Symlet 2 wavelet

Expand source code
""" Symlet 2 wavelet """


class Symlet2:
    """
    Properties
    ----------
     near symmetric, orthogonal, biorthogonal

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

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        -0.12940952255092145,
        0.22414386804185735,
        0.836516303737469,
        0.48296291314469025,
    ]

    # high-pass
    decompositionHighFilter = [
        -0.48296291314469025,
        0.836516303737469,
        -0.22414386804185735,
        -0.12940952255092145,
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.48296291314469025,
        0.836516303737469,
        0.22414386804185735,
        -0.12940952255092145,
    ]

    # high-pass
    reconstructionHighFilter = [
        -0.12940952255092145,
        -0.22414386804185735,
        0.836516303737469,
        -0.48296291314469025,
    ]

Classes

class Symlet2

Properties

near symmetric, orthogonal, biorthogonal

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

Expand source code
class Symlet2:
    """
    Properties
    ----------
     near symmetric, orthogonal, biorthogonal

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

    # decomposition filter
    # low-pass
    decompositionLowFilter = [
        -0.12940952255092145,
        0.22414386804185735,
        0.836516303737469,
        0.48296291314469025,
    ]

    # high-pass
    decompositionHighFilter = [
        -0.48296291314469025,
        0.836516303737469,
        -0.22414386804185735,
        -0.12940952255092145,
    ]

    # reconstruction filters
    # low pass
    reconstructionLowFilter = [
        0.48296291314469025,
        0.836516303737469,
        0.22414386804185735,
        -0.12940952255092145,
    ]

    # high-pass
    reconstructionHighFilter = [
        -0.12940952255092145,
        -0.22414386804185735,
        0.836516303737469,
        -0.48296291314469025,
    ]

Class variables

var decompositionHighFilter
var decompositionLowFilter
var reconstructionHighFilter
var reconstructionLowFilter