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
In this class project, I built a network to classify images in the CIFAR-10 dataset. This dataset is freely available. The dataset contains 60K color images (32×32 pixel) in 10 classes, with 6K images per class. Here are the classes in the datas
I am taking Udacity’s deep learning class at https://www.udacity.com/course/deep-learning-nanodegree-foundation–nd101 I have done the first project, creating a neural network with 1 hidden layer (so not deep enough :)) to predict bike demands for a b
When we set up our NIRS lab back in 2008, we needed a device to prevent participants’ head movement during the experiment and during the digitizer measurement. Even though NIRS is tolerant to head motion, we still want to minimize it. During th
We use MatLab a lot! It’s the major program for brain imaging data analysis in our lab. However, I never thought we could actually contribute to MatLab’s development. In MatLab 2016, there is a toolbox called Wavelet Toolbox. If you read
After the previous blog post Communications between two MatLabs (1) over file, Aaron Piccirilli in our lab suggested a more efficient way to communicate between two matlabs, i.e. over socket. Below is the source code provided by Aaron: udpSocket = ud
Ref to: Communications between two MatLabs (2): over socket It’s common that two MatLab programs needs to communicate. For instance, one program is collecting the brain imaging data but not display them, and the other program is to display the
We are looking for a passionate team member to join us in promoting Stork in the region of North America and Europe. Stork is research tool which notifies researchers new publications and grants based on their own keywords. It’s straightforward