Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PyCWT

ReadTHeDocs PyPI version

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.

How to cite

Sebastian Krieger and Nabil Freij. PyCWT: wavelet spectral analysis in Python. V. 0.4.0-beta. Python. 2023. https://github.com/regeirk/pycwt.

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.

Metadata

Release files for pycwt 0.5.0b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycwt 0.5.0b0
File Size Uploaded
pycwt-0.5.0b0.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycwt 0.5.0b0
File Interpreter ABI Platform
pycwt-0.5.0b0-py3-none-any.whl Python 3 none any Details

Total release size: 1.9 MB

Release files / pycwt-0.5.0b0.tar.gz

Download URL pycwt-0.5.0b0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
ba66417d934877beb6d3a6f2f6bad6465b6f008753caceaf60a29ea8d7f098c4
BLAKE2b-256 checksum
How to use checksums
4ad23e326d8e714b21ea0fd53e8ed0af88bc3fd76744208962edf74353a0117c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / pycwt-0.5.0b0-py3-none-any.whl

Download URL pycwt-0.5.0b0-py3-none-any.whl
Size 755.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33ae02dd89f31d472b27d3b2471532bd1383bd71dbf4374356fdb9a1608410a8
BLAKE2b-256 checksum
How to use checksums
c7330013e55dd51ee0ad012ddd331a7b1852d5f4dd32043a68a0813ad762f2e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page