In [1]:
%pylab inline
import pywt
import numpy as np
import pylab as pl
import pyrem as pr
In [2]:
pol = pr.polygraph_from_pkl("/data/pyrem/Ellys/pkls/GFP_3.pkl")
In [7]:
a = pol[2].data.flatten()[int(200*60*15): int(200*60*16)]
In [8]:
a
Out[8]:
In [11]:
dec = pywt.wavedec(a, "db5",level=5)
In [12]:
pl.figure()
pl.plot(a)
for d in dec:
pl.figure()
print len(d)
pl.plot(d)
In [ ]: