X
X
xenofobius2017-04-05 12:33:58
Python
xenofobius, 2017-04-05 12:33:58

How to 'smooth' graphs using the Daubechies wavelet transform?

In general, in matlab there is such a function as dbaux and wavelet tools (or something like that), I want to say right away that it builds everything correctly, but this does not suit me because I need a solution on python. I actually found the PyWavelets module , and it seems to be working correctly (the values ​​​​with dbaux from Matlab coincided), in fact, the question is, why did the graph shift significantly up?
Graph before transformations:
8ca02d3df63947c388f2b748c8b28d26.png
Graph after transformations:
16b7c6a90e5b41ed92f04e435e6e697f.png
Ps maybe I'm doing something wrong, I'll write a little more. There are 2 lists (x, y), each of which I decompose according to the Doybeshi transform

cA1, cD1 = pywt.dwt(list1, 'db6')
cA2, cD2 = pywt.dwt(list2, 'db6')

Then I build a graph for cA1, cA2.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question