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
Look at the two balls below. What colors are they? To me, the left ball is definitely blue, and the right one is green. If you see the same way, Haha, you (your brain) is tricked! I used photoshop to remove the background purple and yellow colors, th
Chunming Lu’s lab in Beijing Normal University has published a paper titled “Shared neural representations of syntax during online dyadic communication” in NeuroImage. This is another fNIRS hyperscanning study within a month (check
I am using a Dell laptop with Windows 10. It’s been working great, but occasionally my bluetooth mouse won’t work. Sometimes I need to re-install the driver, sometimes I need to restart the computer. But it does not always resume working.
A group of scientists in East China Normal University has published a paper earlier this month titled “Dynamic interpersonal neural synchronization underlying pain-induced cooperation in females” in HBM. They studied how pain affected coo
Back in 2009, When I got my first MacBook Pro I was excited. It had the best configuration at that time (8G memory and 250G storage – SSD!). I still use it today. As I am developing Stork’s mobile app, I need to use the latest xcode. But
If you need to play with Mac OSX but do not own a Mac computer, you might wish you could install Mac OSX on your Windows 10 computer as a virtual machine. Luckily I found this useful webpage with detailed instructions on how to do it. The link also p
My wife asked me to write a script to merge some csv files she has. Usually this can be accomplished by a simple command in Mac or Linux: cat *.csv >all0.csv In Windows, it is: copy *.csv all0.csv But my wife needs more. She wanted the merged file