pywt
pywt copied to clipboard
Update wp_scalogram.py
In the second plot, updated Fs to 512;
ax2.specgram(data, NFFT=64, noverlap=32, Fs=512, cmap=cmap, interpolation='bilinear')
again in the second plot, added aspect='auto', and did corrections to the time (x axis) and y axis (scale) with extent=[0, 1, 1, values.shape[0]]
ax3.imshow(values, origin='lower', extent=[0, 1, 1, values.shape[0]], interpolation='nearest', aspect='auto')