Skip to main content

Continuous wavelet transform module for Python.

Project description

ReadTheDocs PyPi Travis

PyCWT

A Python module for continuous wavelet spectral analysis. It includes a collection of routines for wavelet transform and statistical analysis via FFT algorithm. In addition, the module also includes cross-wavelet transforms, wavelet coherence tests and sample scripts.

Please read the documentation here.

This module requires NumPy, SciPy, tqdm. In addition, you will also need matplotlib to run the examples.

The sample scripts (sample.py, sample_xwt.py) illustrate the use of the wavelet and inverse wavelet transforms, cross-wavelet transform and wavelet transform coherence. Results are plotted in figures similar to the sample images.

Disclaimer

This module is based on routines provided by C. Torrence and G. P. Compo available at http://paos.colorado.edu/research/wavelets/, on routines provided by A. Grinsted, J. Moore and S. Jevrejeva available at http://noc.ac.uk/using-science/crosswavelet-wavelet-coherence, and on routines provided by A. Brazhe available at http://cell.biophys.msu.ru/static/swan/.

This software is released under a BSD-style open source license. Please read the license file for further information. This routine is provided as is without any express or implied warranties whatsoever.

Installation

We recommend using PyPI to install this package.

$ pip install pycwt

However, if you want to install directly from GitHub, use:

$ pip install git+https://github.com/regeirk/pycwt

Acknowledgements

We would like to thank Christopher Torrence, Gilbert P. Compo, Aslak Grinsted, John Moore, Svetlana Jevrejevaand and Alexey Brazhe for their code and also Jack Ireland and Renaud Dussurget for their attentive eyes, feedback and debugging.

Contributors

  • Sebastian Krieger

  • Nabil Freij

  • Ken Mankoff

  • Aaron Nielsen

  • Rodrigo Nemmen

  • Ondrej Grover

  • Joscelin Rocha Hidalgo

  • Stuart Mumford

  • ymarcon1

  • Tariq Hassan

References

  1. Torrence, C. and Compo, G. P.. A Practical Guide to Wavelet Analysis. Bulletin of the American Meteorological Society, American Meteorological Society, 1998, 79, 61-78.

  2. Torrence, C. and Webster, P. J.. Interdecadal changes in the ENSO-Monsoon system, Journal of Climate, 1999, 12(8), 2679-2690.

  3. Grinsted, A.; Moore, J. C. & Jevrejeva, S. Application of the cross wavelet transform and wavelet coherence to geophysical time series. Nonlinear Processes in Geophysics, 2004, 11, 561-566.

  4. Mallat, S.. A wavelet tour of signal processing: The sparse way. Academic Press, 2008, 805.

  5. Addison, P. S. The illustrated wavelet transform handbook: introductory theory and applications in science, engineering, medicine and finance. IOP Publishing, 2002.

  6. Liu, Y., Liang, X. S. and Weisberg, R. H. Rectification of the bias in the wavelet power spectrum. Journal of Atmospheric and Oceanic Technology, 2007, 24, 2093-2102.

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

pycwt-0.4.0b0.tar.gz (760.3 kB view details)

Uploaded Source

Built Distribution

pycwt-0.4.0b0-py3-none-any.whl (753.5 kB view details)

Uploaded Python 3

File details

Details for the file pycwt-0.4.0b0.tar.gz.

File metadata

  • Download URL: pycwt-0.4.0b0.tar.gz
  • Upload date:
  • Size: 760.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0rc1

File hashes

Hashes for pycwt-0.4.0b0.tar.gz
Algorithm Hash digest
SHA256 f337cd28531f5b49a62b5f3ba5657cbc3e2f69e15a12ee3d309a2aa5ca1b8e86
MD5 e20324a5f789ffb09b0337ab7ece38f4
BLAKE2b-256 147d45a8495c87d1332a1a8b457e02ee9e0e0ce8ea0e544ecbab890e79a89c46

See more details on using hashes here.

File details

Details for the file pycwt-0.4.0b0-py3-none-any.whl.

File metadata

  • Download URL: pycwt-0.4.0b0-py3-none-any.whl
  • Upload date:
  • Size: 753.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0rc1

File hashes

Hashes for pycwt-0.4.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8b8b9bfbd87f5c2e9eec54cf71a845eb42f9a22831141bf2c49ff01a3d459f0
MD5 4bdce472b8bbc13b1f59e1129d838e09
BLAKE2b-256 460ed4e87cb23825ba32b175fa95f64a4bd2934d0687269789dc37a883e041d3

See more details on using hashes here.

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