Module wavelet.wavelets.coif5
Coiflets 5 wavelet
Expand source code
""" Coiflets 5 wavelet """
class Coiflets5:
"""
Properties
----------
near symmetric, orthogonal, biorthogonal
All values are from http://wavelets.pybytes.com/wavelet/coif5/
"""
__name__ = "Coiflets Wavelet 5"
__motherWaveletLength__ = 30 # length of the mother wavelet
__transformWaveletLength__ = 2 # minimum wavelength of input signal
# decomposition filter
# low-pass
decompositionLowFilter = [
-9.517657273819165e-08,
-1.6744288576823017e-07,
2.0637618513646814e-06,
3.7346551751414047e-06,
-2.1315026809955787e-05,
-4.134043227251251e-05,
0.00014054114970203437,
0.00030225958181306315,
-0.0006381313430451114,
-0.0016628637020130838,
0.0024333732126576722,
0.006764185448053083,
-0.009164231162481846,
-0.01976177894257264,
0.03268357426711183,
0.0412892087501817,
-0.10557420870333893,
-0.06203596396290357,
0.4379916261718371,
0.7742896036529562,
0.4215662066908515,
-0.05204316317624377,
-0.09192001055969624,
0.02816802897093635,
0.023408156785839195,
-0.010131117519849788,
-0.004159358781386048,
0.0021782363581090178,
0.00035858968789573785,
-0.00021208083980379827,
]
# high-pass
decompositionHighFilter = [
0.00021208083980379827,
0.00035858968789573785,
-0.0021782363581090178,
-0.004159358781386048,
0.010131117519849788,
0.023408156785839195,
-0.02816802897093635,
-0.09192001055969624,
0.05204316317624377,
0.4215662066908515,
-0.7742896036529562,
0.4379916261718371,
0.06203596396290357,
-0.10557420870333893,
-0.0412892087501817,
0.03268357426711183,
0.01976177894257264,
-0.009164231162481846,
-0.006764185448053083,
0.0024333732126576722,
0.0016628637020130838,
-0.0006381313430451114,
-0.00030225958181306315,
0.00014054114970203437,
4.134043227251251e-05,
-2.1315026809955787e-05,
-3.7346551751414047e-06,
2.0637618513646814e-06,
1.6744288576823017e-07,
-9.517657273819165e-08,
]
# reconstruction filters
# low pass
reconstructionLowFilter = [
-0.00021208083980379827,
0.00035858968789573785,
0.0021782363581090178,
-0.004159358781386048,
-0.010131117519849788,
0.023408156785839195,
0.02816802897093635,
-0.09192001055969624,
-0.05204316317624377,
0.4215662066908515,
0.7742896036529562,
0.4379916261718371,
-0.06203596396290357,
-0.10557420870333893,
0.0412892087501817,
0.03268357426711183,
-0.01976177894257264,
-0.009164231162481846,
0.006764185448053083,
0.0024333732126576722,
-0.0016628637020130838,
-0.0006381313430451114,
0.00030225958181306315,
0.00014054114970203437,
-4.134043227251251e-05,
-2.1315026809955787e-05,
3.7346551751414047e-06,
2.0637618513646814e-06,
-1.6744288576823017e-07,
-9.517657273819165e-08,
]
# high-pass
reconstructionHighFilter = [
-9.517657273819165e-08,
1.6744288576823017e-07,
2.0637618513646814e-06,
-3.7346551751414047e-06,
-2.1315026809955787e-05,
4.134043227251251e-05,
0.00014054114970203437,
-0.00030225958181306315,
-0.0006381313430451114,
0.0016628637020130838,
0.0024333732126576722,
-0.006764185448053083,
-0.009164231162481846,
0.01976177894257264,
0.03268357426711183,
-0.0412892087501817,
-0.10557420870333893,
0.06203596396290357,
0.4379916261718371,
-0.7742896036529562,
0.4215662066908515,
0.05204316317624377,
-0.09192001055969624,
-0.02816802897093635,
0.023408156785839195,
0.010131117519849788,
-0.004159358781386048,
-0.0021782363581090178,
0.00035858968789573785,
0.00021208083980379827,
]
Classes
class Coiflets5
-
Properties
near symmetric, orthogonal, biorthogonal
All values are from http://wavelets.pybytes.com/wavelet/coif5/
Expand source code
class Coiflets5: """ Properties ---------- near symmetric, orthogonal, biorthogonal All values are from http://wavelets.pybytes.com/wavelet/coif5/ """ __name__ = "Coiflets Wavelet 5" __motherWaveletLength__ = 30 # length of the mother wavelet __transformWaveletLength__ = 2 # minimum wavelength of input signal # decomposition filter # low-pass decompositionLowFilter = [ -9.517657273819165e-08, -1.6744288576823017e-07, 2.0637618513646814e-06, 3.7346551751414047e-06, -2.1315026809955787e-05, -4.134043227251251e-05, 0.00014054114970203437, 0.00030225958181306315, -0.0006381313430451114, -0.0016628637020130838, 0.0024333732126576722, 0.006764185448053083, -0.009164231162481846, -0.01976177894257264, 0.03268357426711183, 0.0412892087501817, -0.10557420870333893, -0.06203596396290357, 0.4379916261718371, 0.7742896036529562, 0.4215662066908515, -0.05204316317624377, -0.09192001055969624, 0.02816802897093635, 0.023408156785839195, -0.010131117519849788, -0.004159358781386048, 0.0021782363581090178, 0.00035858968789573785, -0.00021208083980379827, ] # high-pass decompositionHighFilter = [ 0.00021208083980379827, 0.00035858968789573785, -0.0021782363581090178, -0.004159358781386048, 0.010131117519849788, 0.023408156785839195, -0.02816802897093635, -0.09192001055969624, 0.05204316317624377, 0.4215662066908515, -0.7742896036529562, 0.4379916261718371, 0.06203596396290357, -0.10557420870333893, -0.0412892087501817, 0.03268357426711183, 0.01976177894257264, -0.009164231162481846, -0.006764185448053083, 0.0024333732126576722, 0.0016628637020130838, -0.0006381313430451114, -0.00030225958181306315, 0.00014054114970203437, 4.134043227251251e-05, -2.1315026809955787e-05, -3.7346551751414047e-06, 2.0637618513646814e-06, 1.6744288576823017e-07, -9.517657273819165e-08, ] # reconstruction filters # low pass reconstructionLowFilter = [ -0.00021208083980379827, 0.00035858968789573785, 0.0021782363581090178, -0.004159358781386048, -0.010131117519849788, 0.023408156785839195, 0.02816802897093635, -0.09192001055969624, -0.05204316317624377, 0.4215662066908515, 0.7742896036529562, 0.4379916261718371, -0.06203596396290357, -0.10557420870333893, 0.0412892087501817, 0.03268357426711183, -0.01976177894257264, -0.009164231162481846, 0.006764185448053083, 0.0024333732126576722, -0.0016628637020130838, -0.0006381313430451114, 0.00030225958181306315, 0.00014054114970203437, -4.134043227251251e-05, -2.1315026809955787e-05, 3.7346551751414047e-06, 2.0637618513646814e-06, -1.6744288576823017e-07, -9.517657273819165e-08, ] # high-pass reconstructionHighFilter = [ -9.517657273819165e-08, 1.6744288576823017e-07, 2.0637618513646814e-06, -3.7346551751414047e-06, -2.1315026809955787e-05, 4.134043227251251e-05, 0.00014054114970203437, -0.00030225958181306315, -0.0006381313430451114, 0.0016628637020130838, 0.0024333732126576722, -0.006764185448053083, -0.009164231162481846, 0.01976177894257264, 0.03268357426711183, -0.0412892087501817, -0.10557420870333893, 0.06203596396290357, 0.4379916261718371, -0.7742896036529562, 0.4215662066908515, 0.05204316317624377, -0.09192001055969624, -0.02816802897093635, 0.023408156785839195, 0.010131117519849788, -0.004159358781386048, -0.0021782363581090178, 0.00035858968789573785, 0.00021208083980379827, ]
Class variables
var decompositionHighFilter
var decompositionLowFilter
var reconstructionHighFilter
var reconstructionLowFilter