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
1. The smallest unique number The host asks each of a large number of participants to write down a positive integer. The person whose number is unique and smallest wins. If you were one of the participant, which number do you write? e.g. If the numbe
I use the following free programs to capture screen and edit the videos. CamStudio for screen capture. Output is AVI. Current version: 2.5 beta VirtualDub for editing (e.g. trimming unwanted frames). Output is AVI. WinFF for converting AVI to FLV. Al
By default, the debug error window are suppressed for an installed AIR application. Sometimes you may want to enable it (say to gather information from internal test users). Here is how: After installation, create an empty file “debug” in
Believe it or not, this is actually not trivial. Instead of getting text height from TextArea.textHeight, retrieving from TextArea.textField.textHeight works. Also note validateNow() before TextArea.textField.textHeight. <?xml version="1.0&qu
Very impressive book. You can see the strong neuroscience background from the sample chapters – not a surprise. You should also check out David’s novel: A brief history of death switches
301 redirect Put .htaccess file in your web directory. In .htaccess include: Redirect 301 /index.html http://www.example.com/start.html The file ‘index.html’ doesn’t have to exist. meta redirect Include the following line in <hea
phpBB Where is the footer file? /styles/prosilver/template/overall_footer.html After change the file, you need to clear cache. How? Log in as administrator, enter Administration Control Panel. Click “Styles” tab. Click Template, Click Cac