Skip to main content

PyWavelets, wavelet transform module

Project description

Service

Master branch

GitHub

Build Status

Appveyor

Appveyor Status

Read the Docs

Documentation Status

PyWavelets

What is PyWavelets

PyWavelets is a free Open Source library for wavelet transforms in Python. Wavelets are mathematical basis functions that are localized in both time and frequency. Wavelet transforms are time-frequency transforms employing wavelets. They are similar to Fourier transforms, the difference being that Fourier transforms are localized only in frequency instead of in time and frequency.

The main features of PyWavelets are:

  • 1D, 2D and nD Forward and Inverse Discrete Wavelet Transform (DWT and IDWT)

  • 1D, 2D and nD Multilevel DWT and IDWT

  • 1D and 2D Stationary Wavelet Transform (Undecimated Wavelet Transform)

  • 1D and 2D Wavelet Packet decomposition and reconstruction

  • 1D Continuous Wavelet Transform

  • Computing Approximations of wavelet and scaling functions

  • Over 100 built-in wavelet filters and support for custom wavelets

  • Single and double precision calculations

  • Real and complex calculations

  • Results compatible with Matlab Wavelet Toolbox (TM)

Documentation

Documentation with detailed examples and links to more resources is available online at http://pywavelets.readthedocs.org.

For more usage examples see the demo directory in the source package.

Installation

PyWavelets supports Python >=3.9, and is only dependent on NumPy (supported versions are currently >= 1.14.6). To pass all of the tests, Matplotlib is also required. SciPy is also an optional dependency. When present, FFT-based continuous wavelet transforms will use FFTs from SciPy rather than NumPy.

There are binary wheels for Intel Linux, Windows and macOS / OSX on PyPi. If you are on one of these platforms, you should get a binary (precompiled) installation with:

pip install PyWavelets

Users of the Anaconda Python distribution may wish to obtain pre-built Windows, Intel Linux or macOS / OSX binaries from the conda-forge channel. This can be done via:

conda install -c conda-forge pywavelets

Several Linux distributions have their own packages for PyWavelets, but these tend to be moderately out of date. Query your Linux package manager tool for python-pywavelets, python-wavelets, python-pywt or a similar package name.

If you want or need to install from source, you will need a working C compiler (any common one will work) and a recent version of Cython. Navigate to the PyWavelets source code directory (containing pyproject.toml) and type:

pip install .

The most recent development version can be found on GitHub at https://github.com/PyWavelets/pywt.

The latest release, including source and binary packages for Intel Linux, macOS and Windows, is available for download from the Python Package Index. You can find source releases at the Releases Page.

State of development & Contributing

PyWavelets started in 2006 as an academic project for a master thesis on Analysis and Classification of Medical Signals using Wavelet Transforms and was maintained until 2012 by its original developer. In 2013 maintenance was taken over in a new repo) by a larger development team - a move supported by the original developer. The repo move doesn’t mean that this is a fork - the package continues to be developed under the name “PyWavelets”, and released on PyPi and Github (see this issue for the discussion where that was decided).

All contributions including bug reports, bug fixes, new feature implementations and documentation improvements are welcome. Moreover, developers with an interest in PyWavelets are very welcome to join the development team!

As of 2019, PyWavelets development is supported in part by Tidelift. Help support PyWavelets with the Tidelift Subscription

Contact

Use GitHub Issues or the mailing list to post your comments or questions.

Report a security vulnerability: https://tidelift.com/security

License

PyWavelets is a free Open Source software released under the MIT license.

If you wish to cite PyWavelets in a publication, please use the following JOSS publication.

http://joss.theoj.org/papers/10.21105/joss.01237/status.svg

Specific releases can also be cited via Zenodo. The DOI below will correspond to the most recent release. DOIs for past versions can be found by following the link in the badge below to Zenodo:

https://zenodo.org/badge/DOI/10.5281/zenodo.1407171.svg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywavelets-1.6.0.tar.gz (3.9 MB view hashes)

Uploaded Source

Built Distributions

pywavelets-1.6.0-cp312-cp312-win_amd64.whl (4.2 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

pywavelets-1.6.0-cp312-cp312-win32.whl (4.2 MB view hashes)

Uploaded CPython 3.12 Windows x86

pywavelets-1.6.0-cp312-cp312-musllinux_1_1_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

pywavelets-1.6.0-cp312-cp312-musllinux_1_1_aarch64.whl (4.4 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ ARM64

pywavelets-1.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pywavelets-1.6.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

pywavelets-1.6.0-cp312-cp312-macosx_11_0_arm64.whl (4.3 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pywavelets-1.6.0-cp312-cp312-macosx_10_9_x86_64.whl (4.4 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

pywavelets-1.6.0-cp311-cp311-win_amd64.whl (4.3 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

pywavelets-1.6.0-cp311-cp311-win32.whl (4.2 MB view hashes)

Uploaded CPython 3.11 Windows x86

pywavelets-1.6.0-cp311-cp311-musllinux_1_1_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

pywavelets-1.6.0-cp311-cp311-musllinux_1_1_aarch64.whl (4.5 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

pywavelets-1.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pywavelets-1.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

pywavelets-1.6.0-cp311-cp311-macosx_11_0_arm64.whl (4.3 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pywavelets-1.6.0-cp311-cp311-macosx_10_9_x86_64.whl (4.4 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pywavelets-1.6.0-cp310-cp310-win_amd64.whl (4.3 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

pywavelets-1.6.0-cp310-cp310-win32.whl (4.2 MB view hashes)

Uploaded CPython 3.10 Windows x86

pywavelets-1.6.0-cp310-cp310-musllinux_1_1_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

pywavelets-1.6.0-cp310-cp310-musllinux_1_1_aarch64.whl (4.5 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

pywavelets-1.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pywavelets-1.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

pywavelets-1.6.0-cp310-cp310-macosx_11_0_arm64.whl (4.3 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pywavelets-1.6.0-cp310-cp310-macosx_10_9_x86_64.whl (4.4 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pywavelets-1.6.0-cp39-cp39-win_amd64.whl (4.3 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

pywavelets-1.6.0-cp39-cp39-win32.whl (4.2 MB view hashes)

Uploaded CPython 3.9 Windows x86

pywavelets-1.6.0-cp39-cp39-musllinux_1_1_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

pywavelets-1.6.0-cp39-cp39-musllinux_1_1_aarch64.whl (4.5 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

pywavelets-1.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pywavelets-1.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.4 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

pywavelets-1.6.0-cp39-cp39-macosx_11_0_arm64.whl (4.3 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pywavelets-1.6.0-cp39-cp39-macosx_10_9_x86_64.whl (4.4 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page