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
Another option is https://www.kayak.com/flights, which is also useful to find cheapest flight. I booked a direct flight (non-stop) from San Francisco to Beijing for my father last October. The cost is ~$300. It’s fairly che
When I was in high school and saw the following equation, my mind was blown! $$1+\frac{1}{4}+\frac{1}{9}+\frac{1}{16}+…=\frac{\pi^2}{6}$$ Why is Pi here? Isn’t it supposed to show up only in circle related problem? But the left-hand has n
This is a guest post by Ning Liu from Stanford University. – A basic block design includes two conditions: task condition and control condition. The two conditions present alternatively, thus is also called ‘AB block’ (Fig. 1A). This design assumes t
This is a guest post by Ning Liu from Stanford University. — For someone who has no imaging background and just began to use fNIRS, s/he might be surprised to find out that the imaging study design is so different with study designs in other fi
If you are a newcomer in the NIRS field, you may wonder who are the experts in this field. You might know a few already – for example your boss. But who else are there and where they are? We developed “Find Experts” app to quickly f