by nigma · 4y ago · 0 comments
I'm not actively involved in the package development anymore but it is still maintained [3] and there is a great chance that you have it already in your Python environment as a dependency of scikit-image/scikit-learn. Just give it a try, it's very simple:
>>> import pywt
>>> cA, cD = pywt.dwt([1, 2, 3, 4], 'db1')
[1] https://en.wikipedia.org/wiki/JPEG_2000
[2] https://pywavelets.readthedocs.io/
[3] https://github.com/PyWavelets/pywtNo comments yet.