Module wavelet.wavelets.db15
Daubechies 15 wavelet
Expand source code
""" Daubechies 15 wavelet """
class Daubechies15:
"""
Properties
----------
asymmetric, orthogonal, bi-orthogonal
All values are from http://wavelets.pybytes.com/wavelet/db15/
"""
__name__ = "Daubechies Wavelet 15"
__motherWaveletLength__ = 30 # length of the mother wavelet
__transformWaveletLength__ = 2 # minimum wavelength of input signal
# decomposition filter
# low-pass
decompositionLowFilter = [
6.133359913303714e-08,
- 6.316882325879451e-07,
1.8112704079399406e-06,
3.3629871817363823e-06,
- 2.8133296266037558e-05,
2.579269915531323e-05,
0.00015589648992055726,
- 0.00035956524436229364,
- 0.0003734823541372647,
0.0019433239803823459,
- 0.00024175649075894543,
- 0.0064877345603061454,
0.005101000360422873,
0.015083918027862582,
- 0.020810050169636805,
- 0.02576700732836694,
0.054780550584559995,
0.033877143923563204,
- 0.11112093603713753,
- 0.0396661765557336,
0.19014671400708816,
0.06528295284876569,
- 0.28888259656686216,
- 0.19320413960907623,
0.33900253545462167,
0.6458131403572103,
0.4926317717079753,
0.20602386398692688,
0.04674339489275062,
0.004538537361577376
]
# high-pass
decompositionHighFilter = [
-0.004538537361577376,
0.04674339489275062,
- 0.20602386398692688,
0.4926317717079753,
- 0.6458131403572103,
0.33900253545462167,
0.19320413960907623,
- 0.28888259656686216,
- 0.06528295284876569,
0.19014671400708816,
0.0396661765557336,
- 0.11112093603713753,
- 0.033877143923563204,
0.054780550584559995,
0.02576700732836694,
- 0.020810050169636805,
- 0.015083918027862582,
0.005101000360422873,
0.0064877345603061454,
- 0.00024175649075894543,
- 0.0019433239803823459,
- 0.0003734823541372647,
0.00035956524436229364,
0.00015589648992055726,
- 2.579269915531323e-05,
- 2.8133296266037558e-05,
- 3.3629871817363823e-06,
1.8112704079399406e-06,
6.316882325879451e-07,
6.133359913303714e-08
]
# reconstruction filters
# low pass
reconstructionLowFilter = [
0.004538537361577376,
0.04674339489275062,
0.20602386398692688,
0.4926317717079753,
0.6458131403572103,
0.33900253545462167,
- 0.19320413960907623,
- 0.28888259656686216,
0.06528295284876569,
0.19014671400708816,
- 0.0396661765557336,
- 0.11112093603713753,
0.033877143923563204,
0.054780550584559995,
- 0.02576700732836694,
- 0.020810050169636805,
0.015083918027862582,
0.005101000360422873,
- 0.0064877345603061454,
- 0.00024175649075894543,
0.0019433239803823459,
- 0.0003734823541372647,
- 0.00035956524436229364,
0.00015589648992055726,
2.579269915531323e-05,
- 2.8133296266037558e-05,
3.3629871817363823e-06,
1.8112704079399406e-06,
- 6.316882325879451e-07,
6.133359913303714e-08
]
# high-pass
reconstructionHighFilter = [
6.133359913303714e-08,
6.316882325879451e-07,
1.8112704079399406e-06,
- 3.3629871817363823e-06,
- 2.8133296266037558e-05,
- 2.579269915531323e-05,
0.00015589648992055726,
0.00035956524436229364,
- 0.0003734823541372647,
- 0.0019433239803823459,
- 0.00024175649075894543,
0.0064877345603061454,
0.005101000360422873,
- 0.015083918027862582,
- 0.020810050169636805,
0.02576700732836694,
0.054780550584559995,
- 0.033877143923563204,
- 0.11112093603713753,
0.0396661765557336,
0.19014671400708816,
- 0.06528295284876569,
- 0.28888259656686216,
0.19320413960907623,
0.33900253545462167,
- 0.6458131403572103,
0.4926317717079753,
- 0.20602386398692688,
0.04674339489275062,
- 0.004538537361577376
]
Classes
class Daubechies15
-
Properties
asymmetric, orthogonal, bi-orthogonal
All values are from http://wavelets.pybytes.com/wavelet/db15/
Expand source code
class Daubechies15: """ Properties ---------- asymmetric, orthogonal, bi-orthogonal All values are from http://wavelets.pybytes.com/wavelet/db15/ """ __name__ = "Daubechies Wavelet 15" __motherWaveletLength__ = 30 # length of the mother wavelet __transformWaveletLength__ = 2 # minimum wavelength of input signal # decomposition filter # low-pass decompositionLowFilter = [ 6.133359913303714e-08, - 6.316882325879451e-07, 1.8112704079399406e-06, 3.3629871817363823e-06, - 2.8133296266037558e-05, 2.579269915531323e-05, 0.00015589648992055726, - 0.00035956524436229364, - 0.0003734823541372647, 0.0019433239803823459, - 0.00024175649075894543, - 0.0064877345603061454, 0.005101000360422873, 0.015083918027862582, - 0.020810050169636805, - 0.02576700732836694, 0.054780550584559995, 0.033877143923563204, - 0.11112093603713753, - 0.0396661765557336, 0.19014671400708816, 0.06528295284876569, - 0.28888259656686216, - 0.19320413960907623, 0.33900253545462167, 0.6458131403572103, 0.4926317717079753, 0.20602386398692688, 0.04674339489275062, 0.004538537361577376 ] # high-pass decompositionHighFilter = [ -0.004538537361577376, 0.04674339489275062, - 0.20602386398692688, 0.4926317717079753, - 0.6458131403572103, 0.33900253545462167, 0.19320413960907623, - 0.28888259656686216, - 0.06528295284876569, 0.19014671400708816, 0.0396661765557336, - 0.11112093603713753, - 0.033877143923563204, 0.054780550584559995, 0.02576700732836694, - 0.020810050169636805, - 0.015083918027862582, 0.005101000360422873, 0.0064877345603061454, - 0.00024175649075894543, - 0.0019433239803823459, - 0.0003734823541372647, 0.00035956524436229364, 0.00015589648992055726, - 2.579269915531323e-05, - 2.8133296266037558e-05, - 3.3629871817363823e-06, 1.8112704079399406e-06, 6.316882325879451e-07, 6.133359913303714e-08 ] # reconstruction filters # low pass reconstructionLowFilter = [ 0.004538537361577376, 0.04674339489275062, 0.20602386398692688, 0.4926317717079753, 0.6458131403572103, 0.33900253545462167, - 0.19320413960907623, - 0.28888259656686216, 0.06528295284876569, 0.19014671400708816, - 0.0396661765557336, - 0.11112093603713753, 0.033877143923563204, 0.054780550584559995, - 0.02576700732836694, - 0.020810050169636805, 0.015083918027862582, 0.005101000360422873, - 0.0064877345603061454, - 0.00024175649075894543, 0.0019433239803823459, - 0.0003734823541372647, - 0.00035956524436229364, 0.00015589648992055726, 2.579269915531323e-05, - 2.8133296266037558e-05, 3.3629871817363823e-06, 1.8112704079399406e-06, - 6.316882325879451e-07, 6.133359913303714e-08 ] # high-pass reconstructionHighFilter = [ 6.133359913303714e-08, 6.316882325879451e-07, 1.8112704079399406e-06, - 3.3629871817363823e-06, - 2.8133296266037558e-05, - 2.579269915531323e-05, 0.00015589648992055726, 0.00035956524436229364, - 0.0003734823541372647, - 0.0019433239803823459, - 0.00024175649075894543, 0.0064877345603061454, 0.005101000360422873, - 0.015083918027862582, - 0.020810050169636805, 0.02576700732836694, 0.054780550584559995, - 0.033877143923563204, - 0.11112093603713753, 0.0396661765557336, 0.19014671400708816, - 0.06528295284876569, - 0.28888259656686216, 0.19320413960907623, 0.33900253545462167, - 0.6458131403572103, 0.4926317717079753, - 0.20602386398692688, 0.04674339489275062, - 0.004538537361577376 ]
Class variables
var decompositionHighFilter
var decompositionLowFilter
var reconstructionHighFilter
var reconstructionLowFilter