Skip to content

Small scripts to easily produce continuous wavelet transforms with Python

Notifications You must be signed in to change notification settings

GGurtner/PyWaveletTransform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small scripts to compute Continuous Wavelet Transform

Transformed Signal

Requirements

You need numpy, scipy, matplotlib, numpy-stl, and PyWavelets. You can install them like this:

sudo pip3 install scipy numpy matplotlib numpy-stl PyWavelets

The scripts are designed to be used on linux system with python 3, but you can change that with minimal effort if needed (or open an issue).

Usage

The script make_cwt.py loads the signal and computes the transform. It can be used like this:

python3 make_cwt.py paras.py

You need to edit paras.py to give the path to the initial signal and set various options. You can directly use the script without argument (python3 make_cwt.py), in which case it will always use the file paras.py by default. The script can save the results in a pickle of numpy arrays for later use, as well as an .stl file. It can also produce a heatmap plot. Read the paras.py for more information. This plot can also be later generated using the other script:

python3 plot_cwt.py paras.py

Once again, you can omit the argument and the script will look for paras.py.

About

Small scripts to easily produce continuous wavelet transforms with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages