>>> import pywt >>> x = [3, 7, 1, 1, -2, 5, 4, 6] >>> cA, cD = pywt.dwt(x, 'db2')
>>> import pywt >>> cA, cD = pywt.dwt([1, 2, 3, 4], 'db1')