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 are reading a book or article online, and want to copy/paste a few sentences. But then you realize the book or article prevents you to copy, or maybe the book/article is an image. Instead of typing the sentences, you can use a tool to automatical
Before performing any data analysis, we should check the data quality first. Below are 3 ways to do so. 1. Visual check of the time series The best pattern detector is our eyes and brains! In many cases, if we visually see the data, we know what is w
The following email was sent from Stork to me. Stork is an easy-to-use app to alert me of new scientific publications and NIH grants based on my own keywords. Below are a few grants awarded in the NIRS field. David Boas Awarded Grants Enabling widesp
I have multiple monitors attached to my laptop. Whenever I want to create a new figure in MatLab, the main screen seems to flash once and the figure is nowhere to find. The reason is the DefaultFigurePosition property. If you run get(0,'DefaultFigure
Below is the experiment script (in MatLab) for our hyperscanning project (“NIRS-based hyperscanning reveals increased interpersonal coherence in superior frontal cortex during cooperation.”). For detailed information please refer to Cui,
Posted for Fumiko Hoeft, Director of BrainLENS at UCSF: Join us at UCSF Hoeft Neuroscience Lab and Precision Learning Center, a multicampus science of learning initiative consisting of 6 Univ. CA schools (Berkeley, Davis, Irvine, LA, Merced, SF) and
In this class project, I used generative adversarial network (GAN) to generate new images of faces, similar to celebrity faces in the database. The model we use is a deep convolutional network, which has been used widely in image classification. Firs