regeirk / 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.
http://regeirk.github.io/pycwt/
Other
293 stars 104 forks source link

calculation of sig2 in sample_xwt.py has a mistake #7

Closed bhlevca closed 7 years ago

bhlevca commented 10 years ago

Same data1 is used for sig2 instead of data2

current code sig2 = wavelet.significance(1.0, dt, cwt2[1], 0, data1['alpha'], wavelet=mother) should be: sig2 = wavelet.significance(1.0, dt, cwt2[1], 0, data2['alpha'], wavelet=mother)

smartass101 commented 8 years ago

I believe this bug has been fixed in master.