Morlet wavelets in time and in frequency

  Рет қаралды 58,410

Mike X Cohen

Mike X Cohen

Күн бұрын

This video lesson is part of a complete course on neuroscience time series analyses.
The full course includes
- over 47 hours of video instruction
- lots and lots of MATLAB exercises and problem sets
- access to a dedicated Q&A forum.
You can find out more here:
www.udemy.com/course/solved-c...
For more online courses about programming, data analysis, linear algebra, and statistics, see
sincxpress.com/

Пікірлер: 63
@BruinChang
@BruinChang 3 жыл бұрын
The time frequency representation is an art.
@exoticcoder5365
@exoticcoder5365 9 ай бұрын
This is a very good explanation series that other channels didn’t provide, even with many views one, much appreciation sir !
@mikexcohen1
@mikexcohen1 9 ай бұрын
Thank you kindly, exoticcoder5365 :)
@Tapuzi
@Tapuzi 8 ай бұрын
High quality! Thank you. I am trying to base my intuition in this subject for a while, this is very beneficial.
@mikexcohen1
@mikexcohen1 8 ай бұрын
Glad it was helpful!
@thomasalderson368
@thomasalderson368 3 жыл бұрын
don't quit your day job... these videos are insanely helpful.
@mikexcohen1
@mikexcohen1 3 жыл бұрын
lol, making these videos is my night job ;)
@donjon9333
@donjon9333 4 жыл бұрын
U killed me with that joke-let
@mikexcohen1
@mikexcohen1 4 жыл бұрын
In these times, even bad jokes can be useful!
@silviamaradacostacampos8971
@silviamaradacostacampos8971 2 жыл бұрын
Congratulation for the explanation!!
@videofountain
@videofountain 10 ай бұрын
I think you may have inspired students to learn morelet about this topic.
@mikexcohen1
@mikexcohen1 9 ай бұрын
lol thank you :)
@BeSaj22
@BeSaj22 2 жыл бұрын
A life saver! Thanks for these helpful tutorials! I love the dad-tier jokes too btw.
@mikexcohen1
@mikexcohen1 2 жыл бұрын
Glad you like them! (The videos and the jokes.)
@salihaamoura232
@salihaamoura232 4 жыл бұрын
Thank you very much 👏👏👏
@mimArmand
@mimArmand 2 жыл бұрын
You are a great teacher! I wonder what are some practical use-cases of these transformations? Is it to eliminate some of the noise?
@mikexcohen1
@mikexcohen1 2 жыл бұрын
Thanks! Morlet wavelets are often used in time-frequency analysis, i.e., creating a spectrogram, which shows how spectral energy changes over time.
@tienernwoon8637
@tienernwoon8637 4 жыл бұрын
that joke with let okayyyy srsly AHAHA but before that much thanks and appreciation for your vids! much thorough explanation and Im getting interested along the way!
@user-kz9gm2kb9k
@user-kz9gm2kb9k Жыл бұрын
May I ask one question¿ why the icwt in matlab of one wavelet coefficient is just a point ¿
@ITriedThis
@ITriedThis Жыл бұрын
Thanks for the video. I'm doing analysis on Pilot Induced Oscillations using Morlet wavelets and this was a great introduction. By the way, is a Morlet wavelet a small version of a Mor wavelet?
@mikexcohen1
@mikexcohen1 Жыл бұрын
lol, yeah I think so. They're named after Jean Morlet, a French geophysicist. He was the son of Jean Mor, who invented the sine wave. (OK ok, that last sentence is just a joke.)
@vtrandal
@vtrandal 4 ай бұрын
Excellent video. Thank you. I'm looking for a transcipt to this video, but I cannot find one.
@mikexcohen1
@mikexcohen1 4 ай бұрын
Hmm, that does seem to be the case. They're auto-generated. From some googling, this seems to happen sometimes with long videos, although this isn't my longest YT video. It doesn't seem possible to re-start the autogen process. I'll look into it, thanks for letting me know.
@gr_it_solutions
@gr_it_solutions 4 ай бұрын
Superb sir
@dnranjit
@dnranjit 3 жыл бұрын
Really interesting video and really appreciate the amount of passion and hardwork has gone into this.One point though: @11:04 ..the amplitude of the sine wave is fluctuating. Only if it had been a complex signal rather than a sinusoid would its amplitude be constant.
@mikexcohen1
@mikexcohen1 3 жыл бұрын
Great point, thanks Ranjit. Indeed, we always use complex-valued wavelets for the analyses, but I find it useful to start by introducing real-valued wavelets.
@dnranjit
@dnranjit 3 жыл бұрын
@@mikexcohen1 I must say, your videos are quite lucid and easy to comprehend and most importantly ..a good sense of humor.Good content and really love the color palette for the waveforms. Please keep up the good work.
@yaarobmohammad1020
@yaarobmohammad1020 4 жыл бұрын
Can you please apply wavelet on geophysical data ? Thank you so much Hope you will answer me about this
@mikexcohen1
@mikexcohen1 4 жыл бұрын
Sure, you can apply wavelet convolution to any regularly sampled time series data.
@elevate4181
@elevate4181 Жыл бұрын
Can you multiply elementwise the sine waves by non Gaussian distribution?
@mikexcohen1
@mikexcohen1 Жыл бұрын
Sure, you can use any tapering function. But a Gaussian is a great to use for several reasons, including the smoothness and spectral properties.
@jyanguas3251
@jyanguas3251 Жыл бұрын
so useful!
@mikexcohen1
@mikexcohen1 Жыл бұрын
Glad it was helpful!
@tobi3497
@tobi3497 4 жыл бұрын
This sliding of the Morley wavelet over the series seems like the exact same thing as the STFT. Where instead of applying this window function on the input signal, you're applying the window function on the convolution wave
@mikexcohen1
@mikexcohen1 4 жыл бұрын
Yes, that's a good summary. Most "different" methods for time-frequency analysis are actually very similar to each other. Wavelet convolution has some advantages over the STFT (e.g., easier and faster to implement, fewer parameters), but the end result will be basically the same.
@tobi3497
@tobi3497 4 жыл бұрын
@@mikexcohen1 it seems like it would be slower to run, as youd need to run it for every frequency and time window: O(t x f) . Where was with STFT, you're only running for every time window (getting all the frequencies for that window at once): O(t)
@tobi3497
@tobi3497 4 жыл бұрын
@@mikexcohen1 I asked a question about this here: dsp.stackexchange.com/questions/68015/wavelets-vs-fourier-transforms
@mikexcohen1
@mikexcohen1 4 жыл бұрын
It depends on how you set it up and on how many time bins you have. Let's say you have 20 frequencies to extract. You need 1 FFT for the data, 20 FFTs for each wavelet, and 20 IFFTs. So that's 41 FFTs in total for the entire TF map. In neuroscience data analysis, we might have 2000 time points. If you extract 41 time bins for the STFFT, then the number of FFTs is the same, but 41 bins for 2000 time points is rather sparse. Furthermore, people often want to change the width of the time bins over different ranges of frequencies. Let's say you have three bins of frequency ranges with different time windows for the same center time point. So then the number of FFTs for the STFFT is actually 3N where N is the number of time time bins. To match the temporal resolution between STFFT and wavelet convolution, you'd need 2000 FFTs X 3 frequency bins = 6000 FFTs. So the way I've described it here, it's 41 FFTs for the wavelet analysis and 6000 for the STFFT analysis. But again, this is not trivially always the case; it all depends on how you set things up.
@tobi3497
@tobi3497 4 жыл бұрын
@@mikexcohen1 from what I've read, you've missed out the convolution step for the wavelet transforms. U use 41 ffts to the relevant frequencies, but you still have to do this for every time step - unless I'm confused.
@isbestlizard
@isbestlizard 4 жыл бұрын
Third times the charm. Will this video actually give an example of a wavelet function or continue to handwave
@isbestlizard
@isbestlizard 4 жыл бұрын
YES thank you best wavelet intro on youtube!
@edwardody4838
@edwardody4838 3 жыл бұрын
Why are the edges of the Morlet Wavelet only close to 0 and not exactly 0? Thanks for the great course!
@mikexcohen1
@mikexcohen1 3 жыл бұрын
Good question. One reason is theoretical: A Morlet wavelet is created by multiplying by a Gaussian [ exp(-x^2) ], and a Gaussian can never be zero; it can only asymptote to zero. The second reason is that due to underflow, digital computers have a hard time computing exact zero, so you end up with tiny numbers like 1e-16. On the other hand, there is a "practical zero" here where the values at the edges get so tiny that they have no real effect on the data.
@edwardody4838
@edwardody4838 3 жыл бұрын
@@mikexcohen1 Hi Mike, thanks for replying to that so quickly! It didn't occur to me that the Gaussian would also never be 0 but it makes sense from the way that it's calculated.
@sukursukur3617
@sukursukur3617 11 ай бұрын
Is morlet wavelet useful in image processing? I googled and there are a few study about that.
@mikexcohen1
@mikexcohen1 11 ай бұрын
Yes, 2D Morlet wavelets are used for filtering images and feature-detection. Although image processing is increasingly done through deep learning models like CNNs.
@sukursukur3617
@sukursukur3617 11 ай бұрын
@@mikexcohen1 Thank you very much for answer. I actually want to ask whether morlet wavelet can be used as kernel in convolution. Why is it not popular in image processing?
@mikexcohen1
@mikexcohen1 11 ай бұрын
Yes, Morlet wavelets are commonly used as convolution kernels. They work great for signals and for images. A lot of image processing is moving towards ML/DL/AI techniques.
@kevalan1042
@kevalan1042 3 жыл бұрын
I see that your course uses Matlab, would you consider doing a PyTorch version?
@mikexcohen1
@mikexcohen1 3 жыл бұрын
This whole series is in MATLAB. I have a bunch of other videos and courses in Python. I'm currently working on a course about deep learning in PyTorch, which will probably be finished in the summer...
@kevalan1042
@kevalan1042 3 жыл бұрын
@@mikexcohen1 thanks for the reply, I like your style
@xchen3132
@xchen3132 4 жыл бұрын
I like the jokelet :3
@prankinjp
@prankinjp 3 күн бұрын
Is there python version for this course
@mikexcohen1
@mikexcohen1 Күн бұрын
Nope, but the book that this course is based on has been translated into Python. See my github repo for the ANTS book for links. That said, I do have a signal-processing course (non-neuroscience-related) that is in both MATLAB and Python.
@exoticcoder5365
@exoticcoder5365 9 ай бұрын
7:09 I caught that joke lol
@aayushbajaj2260
@aayushbajaj2260 Жыл бұрын
I love you
@mikexcohen1
@mikexcohen1 Жыл бұрын
Aww... I love you too, aayushbajaj2260.
@mrx42
@mrx42 4 жыл бұрын
Great joke buddy ;) Keep on going =)
@DataMount1
@DataMount1 3 жыл бұрын
Best joke ever
Convolution in the time domain
23:37
Mike X Cohen
Рет қаралды 26 М.
Complex Morlet wavelet convolution
12:44
Mike X Cohen
Рет қаралды 18 М.
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 8 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 74 МЛН
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
Дарю Самокат Скейтеру !
00:42
Vlad Samokatchik
Рет қаралды 8 МЛН
Terrence Tao on Yves Meyer's work on Wavelets
18:28
The Abel Prize
Рет қаралды 24 М.
Wavelets-based Feature Extraction
37:40
Rami Khushaba
Рет қаралды 59 М.
Wavelets and Multiresolution Analysis
15:12
Steve Brunton
Рет қаралды 137 М.
Easy Introduction to Wavelets
7:44
Simon Xu
Рет қаралды 198 М.
Financial Time Series Analysis using Wavelets
31:38
VoglData
Рет қаралды 25 М.
Convolution as spectral multiplication
19:30
Mike X Cohen
Рет қаралды 16 М.
Wavelets: a mathematical microscope
34:29
Artem Kirsanov
Рет қаралды 614 М.
Parameters of Morlet wavelet (time-frequency trade-off)
18:19
Mike X Cohen
Рет қаралды 14 М.
Time Frequency Analysis & Wavelets
51:46
Nathan Kutz
Рет қаралды 89 М.
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 5 МЛН
Я купил первый в своей жизни VR! 🤯
1:00
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1,8 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,8 МЛН