I am using a complex morlet wavelet to compute the time-frequency response and there are some ripples in the output. I am hoping someone can help me understand why this is occurring.
Figure 1) Signal and FFT
To demonstrate I've created a chirp signal:
Figure 2) Time-frequency
Below you see the time-frequency of the wavelet transform and a zoom to show the ripples in question.
This occurs even if I change the interpolation to 'none' in matplotlib's imshow function (I am using 'hanning' in the above plots).
Figure 3) CWT output for 2 Hz
Below you see a plot of the output for one frequency (2 Hz) from the continuous wavelet transform with a scale of 256 for the wavelet:
Question(s)
My question is how can the output of the wavelet transform oscillate as shown in Figure 3, when the scale is 256 (consider time 0.5 s to 1.0 s)?
Wouldn't a large scale i.e. 256 mean that the wavelet is overlapping with almost 0.5 seconds (fs = 512 Hz) of the data and thus not be sensitive to sudden phase changes?
Hi PyWavelets developers and community,
I am using a complex morlet wavelet to compute the time-frequency response and there are some ripples in the output. I am hoping someone can help me understand why this is occurring.
Figure 1) Signal and FFT To demonstrate I've created a chirp signal:![image](https://github.com/PyWavelets/pywt/assets/32244758/832ebb7b-c9b0-434e-a23b-482b0f9faeb7)
Figure 2) Time-frequency Below you see the time-frequency of the wavelet transform and a zoom to show the ripples in question.![image](https://github.com/PyWavelets/pywt/assets/32244758/24744617-a3db-4a72-ba4c-fc462b27c369)
This occurs even if I change the interpolation to 'none' in matplotlib's imshow function (I am using 'hanning' in the above plots).
Figure 3) CWT output for 2 Hz Below you see a plot of the output for one frequency (2 Hz) from the continuous wavelet transform with a scale of 256 for the wavelet:![image](https://github.com/PyWavelets/pywt/assets/32244758/cce0c92e-4903-40b6-89ce-f35d668c7e65)
Question(s)
Code to Reproduce