I am newbie in Signal Processing, In here I want to ask how to use Daubechies orthogonal wavelet 'db6' to filter a array data, for example like this:
x = [1,2,3,4]
I have read the documentation in here, but i did not find an idea to do it.
May be you can use mlpy.wavelet and try this one:
>>> import numpy as np
>>> import mlpy.wavelet as wave
>>> X = np.array([ 5.65685425, 3.41458985, 0.29185347, -0.29185347, -0.28310081,
... -0.07045258, 0.28310081, 0.07045258])
>>> wave.idwt(X=X, wf='d', k=6)
array([ 1.00000000e+00, 2.00000000e+00, 3.00000000e+00,
4.00000000e+00, 3.00000000e+00, 2.00000000e+00,
1.00000000e+00, -3.53954610e-09])
For detail explanation you can visit here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With