| 1 |
PyWavelets - Wavelet Transforms in Python |
| 2 |
========================================= |
| 3 |
|
| 4 |
PyWavelets is open source wavelet transform software for Python_. It combines |
| 5 |
a simple high level interface with low level C and Cython performance. |
| 6 |
|
| 7 |
PyWavelets is very easy to use and get started with. Just install the package, |
| 8 |
open the Python interactive shell and type: |
| 9 |
|
| 10 |
.. sourcecode:: python |
| 11 |
|
| 12 |
>>> import pywt |
| 13 |
>>> cA, cD = pywt.dwt([1, 2, 3, 4], 'db1') |
| 14 |
|
| 15 |
VoilĂ ! Computing wavelet transforms has never been so simple :) |
| 16 |
|
| 17 |
Here is a slightly more involved example of applying a digital wavelet |
| 18 |
transform to an image: |
| 19 |
|
| 20 |
.. plot:: pyplots/camera_approx_detail.py |
| 21 |
|
| 22 |
Main features |
| 23 |
------------- |
| 24 |
|
| 25 |
The main features of PyWavelets are: |
| 26 |
|
| 27 |
* 1D, 2D and nD Forward and Inverse Discrete Wavelet Transform (DWT and IDWT) |
| 28 |
* 1D, 2D and nD Multilevel DWT and IDWT |
| 29 |
* 1D, 2D and nD Stationary Wavelet Transform (Undecimated Wavelet Transform) |
| 30 |
* 1D and 2D Wavelet Packet decomposition and reconstruction |
| 31 |
* 1D Continuous Wavelet Transform |
| 32 |
* Computing Approximations of wavelet and scaling functions |
| 33 |
* Over 100 `built-in wavelet filters`_ and support for custom wavelets |
| 34 |
* Single and double precision calculations |
| 35 |
* Real and complex calculations |
| 36 |
* Results compatible with Matlab Wavelet Toolbox (TM) |
| 37 |
|
| 38 |
|
| 39 |
Getting help |
| 40 |
------------ |
| 41 |
|
| 42 |
Use `GitHub Issues`_, `StackOverflow`_, or the `PyWavelets discussions group`_ |
| 43 |
to post your comments or questions. |
| 44 |
|
| 45 |
License |
| 46 |
------- |
| 47 |
|
| 48 |
PyWavelets is a free Open Source software released under the MIT license. |
| 49 |
|
| 50 |
Citing |
| 51 |
------ |
| 52 |
|
| 53 |
If you use PyWavelets in a scientific publication, we would appreciate |
| 54 |
citations of the project via the following |
| 55 |
JOSS publication: |
| 56 |
|
| 57 |
Gregory R. Lee, Ralf Gommers, Filip Wasilewski, Kai Wohlfahrt, Aaron |
| 58 |
O'Leary (2019). PyWavelets: A Python package for wavelet analysis. Journal |
| 59 |
of Open Source Software, 4(36), 1237, https://doi.org/10.21105/joss.01237. |
| 60 |
|
| 61 |
Specific releases can also be cited via Zenodo. The DOI below will correspond |
| 62 |
to the most recent release. DOIs for past versions can be found by following |
| •63 |
the link to Zenodo: https://doi.org/10.5281/zenodo.1407171. |
| 64 |
|
| 65 |
Contents |
| 66 |
-------- |
| 67 |
|
| 68 |
.. toctree:: |
| 69 |
:maxdepth: 1 |
| 70 |
|
| 71 |
install |
| 72 |
ref/index |
| 73 |
regression/index |
| 74 |
contributing |
| 75 |
dev/index |
| 76 |
releasenotes |
| 77 |
|
| 78 |
.. include:: common_refs.rst |