Wavelet Transform for Python
Wavelet Transforms has become very popular tool for analysis, denoising and compression of signals and images. PyWavelets is a free, open source Python package for computing various kinds of Wavelet Transforms:
- Discrete Wavelet Transform (1D and 2D)
- Inverse Discrete Wavelet Transform (1D and 2D)
- Stationary Wavelet Transform (1D and 2D)
- Wavelet Packets decomposition and reconstruction (1D and 2D)
- Approximation of wavelet and scaling functions
The aim of the project is to provide a full-featured tool for people just starting exploring wavelets' world as well as for professionals working on wavelet-based algorithms and software.
What makes PyWavelets unique from other wavelet transform libraries is a simple, high-level interface utilising power of the Python programming language, which allows to easily start working and experiment with wavelets, forgetting about tedious implementation details, compilers and environment configuration. It's just as simple as typing a few lines in the Python interactive interpreter:
>>> import pywt
>>> (cA, cD) = pywt.dwt([1,2,3,4,5,6], 'db1')
>>> print cA
[ 2.12132034 4.94974747 7.77817459]
>>> print cD
[-0.70710678 -0.70710678 -0.70710678]
What's more, the efficient "behind the scenes" low-level C implementation featuring single- and double-precision calculations makes it very fast and accurate solution, compatible with leading commercial products.
Follow to the Documentation for information on how to use PyWavelets and Download for source code and packages.