Created
February 26, 2019 17:20
-
-
Save aprovecharLab/7654032c64370672b933559f887afd56 to your computer and use it in GitHub Desktop.
Fun with Continuous Wavelet Transform Spectrograms
Hello Miguel,
Sorry it has taken me so long to respond. I am pleased you found my codes useful. Wavelets have a scale, not a wavelength and frequency is a pseudo frequency which is something like the center frequency of the waveform. This link below talks about this some.
I think it is still useful for us to cast the wavelet transforms in these fourier terms to help us better understand what they are telling us.
I hope that this brief response helps.
Steve
https://stackoverflow.com/questions/58166010/how-to-convert-scales-to-frequencies-in-wavelet-transform
…On Thu, Jan 14, 2021, at 10:16 AM, MiguelonGonzalez wrote:
***@***.**** commented on this gist.
First of all, thank you all for sharing this material. It's being extremely useful for me!
I have slightly modified this code to adapt it to my case of study and I'm wondering if, with regards to CWT, I could visualize period instead of frequencies in the output image. Although it's being a little hard for me to enter into waveletes world, I think I'd have to make a deeper change beyond invertis y-axis, isn't it?
I'd really appreciate someone's aid. Thank you very much in advance.
Kind regards,
Miguel González-Jiménez
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <https://gist.github.com/7654032c64370672b933559f887afd56#gistcomment-3593873>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AK3OJA3Q46XOM22Z7BFB2K3SZ4DFDANCNFSM4WCSRTUQ>.
--
Stephen Brown
AprovecharLab L3C
srbrown@aprovechar.org
Hi Steve!
Thank you for your response and that web-link, it's been helpful. I have already tunned your code: what I did finally was obtained the periods just by inverting the frequencies array, and then I plotted them on a log2 scale image for a better visualization.
What I'm hesitating right now is if, somehow, I could plot the arrows in the output XWT image using some of the functions you have programmed, like xwt_phase, so as to obtain a graphic like the one attached.
Thank you again! I hope you're fine.
Miguel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, thank you all for sharing this material. It's being extremely useful for me!
I have slightly modified this code to adapt it to my case of study and I'm wondering if, with regards to CWT, I could visualize period instead of frequencies in the output image. Although it's being a little hard for me to enter into waveletes world, I think I'd have to make a deeper change beyond invertis y-axis, isn't it?
I'd really appreciate someone's aid. Thank you very much in advance.
Kind regards,
Miguel González-Jiménez