pycwt
pycwt copied to clipboard
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 c...
When I want to replace the nan values of the dataset with mean value, sometimes it will raise the warning. I can't tell the difference between the problematic data and...
After fixing the bug from PR( #29 ), I test the following code and plot the original timeseries and iwave, but they are not fully same. W, scales, freqs, coi,...
I have seen the monsoon.dat file in pycwt. Can anyone explain the file why there are negative values in the data? I have tried to subtract the mean from the...
``` import pycwt as wavelet dt=0.002 mother = wavelet.DOG() coefs, scales, freqs, coi, fft, fftfreqs = wavelet.cwt(wave, dt, mother,freqs=np.arange(2,10,0.2)) iwave = wavelet.icwt(coefs, scales, dt, scales[0]-scales[1], mother) ``` The waveform changed...
I _think_ the rednoise function does not produce the results desired. Here is a minimal example based on the function. ``` from scipy.signal import lfilter import matplotlib.pyplot as plt import...
According to the tutorial sample.py, for the global wavelet spectrum the input parameter "dof" for "wavelet.significance(...,dof=dof)" (lines 91-92) is calculated using dof = N - scales, where N is the...
I believe there is a square root missing (sj) in the calculation of the inverse wavelet transform. It should be: iW = (dj * np.sqrt(dt) / wavelet.cdelta * wavelet.psi(0) *...
When using wavelet.cwt I get the following warning about a future deprecation in scipy: > /home/jorge/.local/lib/python3.5/site-packages/scipy/fftpack/basic.py:159: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of...
Hi, thank you for making and maintaining this library! What is the preferred way to cite `pycwt`?
I copy the code to notebook on my machine and tested. The result as this png: ![test](https://user-images.githubusercontent.com/8605164/41340240-7b18931a-6f29-11e8-86f0-3727e52e7483.png) As the official result is: ![sample_nino3](https://user-images.githubusercontent.com/8605164/41340279-94c80e08-6f29-11e8-9747-37a6960a36cd.png) [pycwt document](https://pycwt.readthedocs.io/en/latest/index.html) The biggest difference is the...