PyWavelets / pywt

PyWavelets - Wavelet Transforms in Python
http://pywavelets.readthedocs.org
MIT License
1.97k stars 460 forks source link

Plotting inconsistencies with CWT function #749

Open sohamdorle opened 3 weeks ago

sohamdorle commented 3 weeks ago

Hello,

For the past week, I have been trying to figure out a plotting issue with the continuous wavelet transform function. I know from literature that we should see peaks in the coefficients at the central frequency. However, using any form of plotter (imshow(), pcolormesh(), or pd.DataFrame()) to plot the coefficients against frequencies and translation doesn't align with our expectations. Any help here would be appreciated!

For reference, I want to examine exactly how the CWT works on example functions, so I have tested it here on gaus1 and gaus2 wavelets, as well as the Gaussian distribution.

proof