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
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
I have a PDF file which contains many pages. For some reason I need to send only page 3 and 5 to a friend. How can I create a PDF which contains only page 3 and 5? It turns out using Google Chrome is very easy (and free)! I simply open the big PDF in
We know the hemodynamic signal measured by fMRI (or NIRS) is delayed respective to the onset of stimuli. But how long is the delay? Many people think it takes about 2s for the signal to arise. Actually the delay varies from region to region. As shown