Quantify your EEG, Use your EMG – A Neuromath Journey (Part III)
— Written by Natalia Díaz —
Hello. I’m here again! And this will be my last update on my neuromathematical project. If you don’t remember me, I’m Natalia Díaz, and I’m doing my university internship at Backyard Brains.
(If you’re wondering what I’m talking about when I say neuromathematics, check out my first and second blog post.)
In the last part of my internship, I have been working with the Python platform. It is great to do the experiments but we must also learn to interpret them. And as every numbers geek knows, there is no better way of doing that than math and statistics!
Until now, Backyard Brains have been using the Matlab platform for EEG analysis, but they’ve always wanted to achieve the same (or at least similar) result using Python. So, they asked me to try to “translate” the work they had already done, showing increased alpha wave power in the visual cortex when the eyes are closed.
At first I was a little scared, since I know the Python language, but I am not an expert! But as I worked on it, I realized that it was not difficult and that I knew more than I thought I knew. So I managed to make a code on this new platform that did the same as what they had. I must say that Matlab is easier for (a bit more complicated) math operations, but with a little effort and searching you can get a good result in Python.
Below you can see the spectrogram of the EEG of the visual cortex as we opened and closed our eyes. Look at that alpha wave power. It worked!
Realizing that I had done a good job (I think haha), BYB’s co-founder Tim asked me for a little more statistical analysis by creating new graphs and calculations. And I did it! By analyzing all the data of alpha power during eyes closed versus eyes open, and using boxplots, I can now show statistically that alpha power is higher in the visual cortex EEG when the eyes are closed. I think a p-value of 0.003 is convincing, don’t you?
Finally in summary, I am very happy to finish my internship having been able to help Backyard Brains with my knowledge and above all by having combined what I like the most: mathematics and neuroscience. My protocol is already on the website under our experiments page – “Quantifying Your EEG.” I hope they are happy with my work and consider me in future projects where they need neuromathematical help.
See you soon!
Say Hello to Another BYB Intern & Budding Neural Engineer
— Written by Miguel Cornejo —
Hi everyone! I am Miguel Cornejo, a high school senior at Colegio Alberto Blest Gana in San Ramón, Santiago, Chile. Backyard Brains has had a relationship with my school for 5 years, and I took their Neural Engineering Course two years ago, leading a team on studying Leg Muscle Recordings (EMGs) during soccer kicks.
I recently worked with Backyard Brains during a short 1 month long internship to modernize two of their Muscle SpikerShield Experiments – Controlling a Stepper Motor and Controlling an LCD screen with your muscles. Why did they need to be modernized? Because the new controller chips have now become so inexpensive my new protocol is a breeze. Tim and I worked together at various cafes in Nuñoa and downtown Santiago, and after only one burned out chip, my project finished quickly! As a result of this internship, I now have a small neural interfaces workshop in my house and stay in touch with BYB. In my spare time, when not learning next-gen engineering, I enjoy building gaming PCs and (of course) soccer.