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
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
I need to create a banner ad for Stork’s advanced feature (NIH grant database English/Chinese bilingual version). I wish the ad has two images showing one after the other, and repeat every 3 seconds. In the end, the image is like this: So how t
If you create a CSV file and the file contains some characters such as ü or ş, then you will find the characters are not displayed correctly in Excel. This is because the default coding of Excel is not UTF-8. To force Excel to use UTF-8, we need to a
Back in August, 2013 I purchased a Dell computer (OptiPlex 9010 Minitower) which has been working very well. It has Windows 7 installed. Recently I got a notification that Windows 7 will reach End of Life (i.e. Microsoft will no longer support it) so
If you decide to abandon a GMail account (not just personal GMail, GSuite included), you might want to save a record of the past emails. Or maybe you simply want to backup your emails. How to do that? Google Takeout will do the work. Go to https://ta