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
You may get a 303 error when trying to use custom icons in your AIR application (even when your icon files are in the right place). Solution: Assume you are using Flex Builder. First move your icon files out of your source directory (e.g. move to Des
blackScreen has a simple function: it makes your computer screen black every 30 min (changable) so you can walk around and relax your eyes. To install, go to Adobe AIR marketplace and click INSTALL NOW. Or, you can follow the steps below: Download an
Hardware settings In the “Projector source” panel, click “eprime” button to select Eprime as source. Always turn the knob to “SRBox” instead of “USBox”. Transfering data: You use gFTP to transfer data f
E-Prime This piece of code is used in Lucas Center scanner #2 at Stanford University. SRBOX.Lamps "4" Sleep(100) SRBOX.Lamps "" Set SumACC = New Summation You also need to declare SumACC in user script Dim SumACC = As Summation Ma
X window doesn’t work with PuTTY (download) alone. Download, install and run xming (~2M). Check “Enable X11 forwarding” in PuTTY configuration window, and ssh to your server. Check if X window works by run command “xclock̶
xjView’s official webpage moves to https://www.alivelearn.net/xjview/ xjView is a MatLab program Jian and I wrote a few years ago to display SPM T-test images more easily. Main features include p-value slider: change p-value and display the sup