swan
swan is a tool for wavelet data analysis.
It’s meant to be simple in use and easy to extend.
Examples
Pythonで連続ウェーブレット解析 - ICの日記
code:python
import matplotlib.pyplot as plt
import iwavelets.pycwt as pycwt
import numpy as np
Fs=10.
time=np.arange(0.,20.,1/Fs)
signal =np.sin(2./5.*np.pi*time*(time/max(time)*10.));
freqs=np.arange(1./20.,Fs/2.,0.01)
fc=1.5
r=pycwt.cwt_f(signal,freqs,Fs,pycwt.Morlet(fc))
rr=r.real**2+r.imag**2
plt.subplot(211)
plt.pcolor(time,freqs,rr)
plt.ylabel('FrequencyHz') plt.subplot(212)
plt.plot(time,signal)
plt.show()
https://gyazo.com/ce3403f7bd207772e01b3042b0d98921