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
Light travels in a straight line. When light is reflected by a mirror, the incoming angle is equal to the reflection angle. When light enters water, it changes its directions according to Snell’s law. … Or does it? These light behaviors a
Stork has an update and we need to send an email to our users. In the email we wish to show a super short video demonstrating the new feature. However, embedding video in email can be complicated. A GIF picture will be much easier for users to consum
The 2019–2020 Wuhan coronavirus outbreak is a viral epidemic primarily affecting mainland China, along with isolated cases in 27 other countries and territories (From WikiPedia). Here we list the publications related to 2019-nCov. The list is updated
It’s not uncommon you hear news about data breaches of some big internet companies. If you happen to you use their services, your username/password might be public now. In Google’s password manager, there is a new feature called “Pa
I found this photo today taken on April 1st, 2011. This was after I took a simultaneous fNIRS-fMRI experiment at Lucas Center, Stanford. This study required the participants to wear a cap with optical probes pointing on their heads. After the experim
I like to play with computers. So Oracle’s VirtualBox is handy to install different operating systems (Linux, Windows, Mac etc) and try them. But recently when I tried to open any virtual machines I got the following error: I searched and tried
In Mac, you can colorize a folder or file. This is particular useful if you have many files and want to mark important ones for quick access. Unfortunately, Windows does not have such feature natively. Fortunately, FileMarker (free version) allows yo
When I need to free some spaces on my computer, I need to know which folder(s) take most space so I can prioritize removing files in these folders. TreeSize is a free program to do this. It shows you not only the space each folder takes, but also the