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
Our lab is hiring a “sports neuroscience postdoc”. See the detail below. If you are interested, please contact Reiko Riley (mentioning that you heard about this position from Xu’s blog): —– A sports neuroscience postdoct
I have posted an FDR script at https://www.alivelearn.net/?p=1840. I noticed that there is a small bug. In rare cases, this bug will cause the most significant voxel to be classified as ‘non-significant’ while other voxels are ‘sign
I have quite a few devices now: one computer (PC) at Stanford, one (PC) at home, one Macbook Pro laptop, one iPhone and iPad. I am sometimes at work, sometime home, sometimes travelling, sometimes meeting people. One thing I always want to achieve is
To be more “productive”, I recently upgraded my work space. I used to have 2 monitors side by side. Both of them are View Sonic but they are of different size and one is old. So I purchased two monitors (Dell U2415). Together with one ori
I have a mat file which is 100+M in size. It would be fine normally but since I was trying to upload it to github, it was rejected due to its big size. Fortunately there is a way to reduce the size: save it again in the compressed mode. After I load
Manish Saggar in our lab brought something very cool – a helmet like EEG system. He called it “dry” EEG because it does not requite gel. The design is not polished, but it’s cheap, like $800. And it does not need long wires to
Wavelet toolbox is a useful tool to study hyperscanning data. Many recent publications on NIRS hyperscanning use wavelet coherence to quantify the relationship between two interacting brains (e.g. Baker et al 2016, Nozawa et al 2016). You can see mor
We just published a big and long study. It is a NIRS hyperscanning study aiming to investigate the brain difference between men and women during cooperation. We have scanned 222 people! And it is one of the largest NIRS study I have seen. And it is a