Can you find any pattern in the two signals, green and blue? The blue signal is the brain wave (measured by NIRS) of a person when he is pressing some buttons (the timing of button pressing is shown i
Wavelet transform coherence (WTC) is a method for analyzing the coherence and phase lag between two time series as a function of both time and frequency (Chang and Glover 2010). Here I played with it
SVM is mostly commonly used for binary classifications. But one branch of SVM, SVM regression or SVR, is able to fit a continuous function to data. This is particularly useful when the predicted varia
Update 2021/2/27: If you find griddata3 not working, try to change griddata3 to griddata. I was asked where to get nirs2img script. Here it is. The download link is at the bottom of this article. nirs2img is to create an image file from the input data. Then theimage file can be viewed by a
While discussing data analysis with a coworker today, I Jokingly said my experience on brain imaging can be condensed into two lines of code: V = spm_vol('filename.img'); % note: spm_vol can also take nii files as input M = spm_read_vols(V); % M is a
We had an interesting discussion on the difference between sex and gender. According to Allan, sex refers to the biological difference (chromosomes contain Y), while gender refers to how a person thinks of himself/herself. So when a person believes h
Great post by Liz Elcoate. The following diagram by her describes my situation very well. No work + No money = Inertia + Paralysing fear + Panic = NIL productivity
Go-Nogo game This game is fairly simple, but it’s very hard to get all correct. A subject sits in front of a computer. In the “go” block, a series of letters will appear one after another in the center of the screen. The subject has
Previous post “Games used in human brain research ” The finger tapping task mentioned in the last post is rather boring. How interesting it is to move fingers? So in this post I will talk about a more interesting task: competitive butt
Some noise is easy to detect – simply plotting the time courses of NIRS signal, you will find the noise so out of range and you will discard the data. However, I find in some instances the noise level seems to be in the normal range but the dat