.. _ref-overview: .. module:: pywt .. include:: substitutions.rst ======== Overview ======== |pywt| is a free Open Source wavelet transform software for Python_ programming language. It is written in Python, Pyrex/Cython and C for a mix of easy and powerful high-level interface and the best performance. |pywt| is very easy to start with and use. Just install the package, open the Python interactive shell and type: .. sourcecode:: python >>> import pywt >>> cA, cD = pywt.dwt([1, 2, 3, 4], 'db1') VoilĂ ! Computing wavelet transforms never before has been so simple :) Main features ------------- The main features of |pywt| are: * 1D and 2D Forward and Inverse Discrete Wavelet Transform (DWT and IDWT) * 1D and 2D Stationary Wavelet Transform (Undecimated Wavelet Transform) * 1D and 2D Wavelet Packet decomposition and reconstruction * Approximating wavelet and scaling functions * Over seventy built-in wavelet filters and custom wavelets supported * Single and double precision calculations supported * Results compatibility with Matlab Wavelet Toolbox |tm| Requirements ------------ |pywt| is a Python programming language package and requires `Python `_ 2.4, 2.5 or 2.6 installed. The only external requirement is a recent version of `NumPy `_ numeric array module. Download -------- Current release, including source and binary release for Windows, is available for download from the Python Package Index at: http://pypi.python.org/pypi/PyWavelets/ The latest *development* version can be found in the wavelets.scipy.org's SVN `source code repository `_:: svn co http://wavelets.scipy.org/svn/multiresolution/pywt/trunk pywt Install ------- The most convenient way to install |pywt| is to use the `setuptools `_' `Easy Install `_ manager:: easy_install -U PyWavelets In order to build |pywt| from source, a working C compiler and a recent version of `Cython `_ is required. After completing the build environment, open the shell prompt, go to the |pywt| source code directory and type:: python setup.py install .. seealso:: :ref:`Development notes ` section contains more information on building from source code. For Windows users there is a standard binary installer available for download from the `Python Package Index `_. Just execute it to install the package on your computer. Also binary packages for several Linux distributors are `maintained `_ by Open Source community contributors. Please consult your favourite package manager tool for `python-wavelets`, `python-pywt` or similar package name. .. note:: If you happen to maintain a |pywt| Linux binary package please put information and your name on the `wiki download page `_ or contact me and I will update the page. Thanks for help! To verify the installation process try running tests and examples from the `tests `_ and `demo `_ directories included in the source distribution. Note that most of the examples relies on the `matplotlib `_ plotting package. License ------- |pywt| is a free Open Source software available under the :download:`MIT license terms `. Contact ------- Post your suggestions and guestions to `PyWavelets discussions group `_ (pywavelets@googlegroups.com). You can also contact me directly at en@ig.ma. Comments, bug reports and fixes are welcome. There's also a wiki and trac system available at the `wavelets.scipy.org `_ site to improve documentation, post cookbook recipes or submit enhancement proposals and bug reports.