User friendly scaleogram plot for Continuous Wavelet Transform
Project description
# scaleogram
Scaleogram is a user friendly plot tool for 1D data analysis with Continuous Wavelet Transform built on the [PyWavelets library](https://github.com/PyWavelets/pywt).
I started this project when realizing how harsh it can be to build nice plots of wavelets scaleogram with axes ticks and labels consistent with the actual location of features. Hence this module aim to provide a reliable tool for either quick data analysis or publication.
It has the following features:
simple call signature for complete beginners
readable axes and clean matplotlib integration
many options for changing scale, spectrum filter, colorbar integration, etc…
support for periodicity and frequency units, consistent with labelling
speed, uses a N*log(N) algorithm for transforms
portability: tested with python2.7 and python3.7
comprehensive error messages and documentation with examples
support for Cone Of Influence mask
![Example](https://github.com/alsauve/scaleogram/blob/master/doc/example.png)
## Install with pip
Installation should be straightforward with
` pip install scaleogram `
## Install from github
` git clone http://github.com/alsauve/scaleogram cd scaleogram python ./setup.py install --user `
### Prerequisites
This module depends on
PyWavelet >= 1.0
matplotlib >= 2.0
numpy >= 1.0
## Documentation
A lot of documentation and examples are available online from the docstrings
Jupyter notebook are also provided for quickstarting
A gentle introduction to CWT based data analysis [TODO]
[scale to frequency relationship](https://github.com/alsauve/scaleogram/blob/master/doc/scale-to-frequency.ipynb)
[Example of scaleogram with the NINO3.4 SST seasonal time series](https://github.com/alsauve/scaleogram/blob/master/doc/El-Nino-Dataset.ipynb)
[Graphical output of the test set](https://github.com/alsauve/scaleogram/blob/master/doc/tests.ipynb)
## Running the tests
A features test matrix can be plotted with
` # launch graphical tests python -m scaleogram.test `
## Built With
[ViM](https://www.vim.org/) - The editor
[Spyder](https://www.spyder-ide.org/) - The Scientific Python Developement Environment
[Jupyter](https://jupyter.org/) - The Jupyter Notebook
## Realeases
See the [Releases page](https://github.com/alsauve/scaleogram/releases).
## Contributing
Please read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/alsauve/scaleogram/tags).
## Authors
Alexandre sauve - Initial work - [Scaleogram](https://github.com/alsauve/scaleogram)
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
## Acknowledgments
The team behind PyWavelet for their nice job into making wavelet transform available
The Matlab environement for inspiration and good documentation
Mabel Calim Costa for the waipy package and inspiration
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
Built Distribution
File details
Details for the file scaleogram-0.9.5.tar.gz
.
File metadata
- Download URL: scaleogram-0.9.5.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eaf4c892589d722439ffe637c458c19506ffcf4ece58c8411675baea2ed5440 |
|
MD5 | cd5b4b1449b71cda5d36662edaf907cd |
|
BLAKE2b-256 | 1e76c1fbd91afcee2e38d8e90c400c8138dc0d530d8966cefdbcad107cc5fb7e |
File details
Details for the file scaleogram-0.9.5-py3-none-any.whl
.
File metadata
- Download URL: scaleogram-0.9.5-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db2337e2e3eafd623a564869d96418ba860223575bb14eeae20134c93285ede9 |
|
MD5 | 802a396af163ee8ec00541e6b05724cf |
|
BLAKE2b-256 | 39512aa9cea1494083a63ca85bc06e1419d020ca0e56b319dbc6e6b14c6a707d |