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
This is a guest post by Ning Liu from Stanford University. Temporal resolution provides information on the distance of time between the acquisitions of two images (data) of the same area. It is the reciprocal of sampling rate (or acquisition rate) of
I compared the speed of Nvidia’s 1080 Ti on a desktop (Intel i5-3470 CPU, 3.2G Hz, 32G memory) and NVIDIA Quadro M1200 w/4GB GDDR5, 640 CUDA cores on a laptop (CPU: Intel Core i7-7920HQ (Quad Core 3.10GHz, 4.10GHz Turbo, 8MB 45W, Memory: 64G).
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