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
Raspberry Pi for research labs (3) Raspberry Pi for research labs (1) We recently used a smartphone to measure participants’ head motion during an NIRS experiment and got decent results. Smartphone is easy to use, but its size is relatively bul
Ever wondered what happened to your brain when you tap your finger? See this movie: Link: http://youtu.be/KN3MPtXlOH8 In the above movie I used topo software (by Hitachi) to visualize the blood flow changes in the brain. The data was collected by Hit
When you hide column A, you may have assumed it’s very easy to unhide it later. It’s not true. Here is how you unhide column A: 1. Type “A1” in the cell selector box, press Enter 2. click “Format” in the cells tool
The other day I was walking on a street, along which there are a lot of booths where people play games to gamble. I stopped in front of one booth. The host was warm and we started to talk. “How to play?”, I asked. “Well, simple.R
How to label each data point in a MatLab plot, like the following figure? MatLab code: x = ; y = x + rand(1,10); figure('color','w'); plot(x,y,'o'); a = '; b = num2str(a); c = cellstr(b); dx = 0.1; dy = 0.1; text(x+dx, y+dy, c); It also w
It would be nice if we can predict the future. For example, give the following time series, can we predict the next point? Let’s use SVM regression, which is said to be powerful. We use the immediate past data point as the predictor. We train o
Is NIRS able to measure signal from deep brain structure, such as amygdala? The short answer is no. NIRS is only able to measure the surface of the brain. This is a serious limitation of NIRS compared to fMRI which is able to measure the entire brain
Log in to your gmail On the top-right corner, you will find your own icon, click it. A pop up window will show Click “Account” You will see a page with a lot of options. Scroll down and find Account tools, then click “Download data&
Is it possible to use a smartphone to measure head motion in a NIRS study? Is it reliable? After all, smartphones are so popular right now and everybody has it. It would make head motion measurement much more convenient than a traditional stand-alone