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
Many users have created masks from a T-test image; xjView also allows you to create a mask based anatomy. Say, if you want to create a mask of Amygdala, how to do that? (You need to use xjview 8.10. 1 min video demo at http://youtu.be/31q_6jumhhM) 1.
Previously I said I was developing a ROI analysis program (https://www.alivelearn.net/?p=1421). Here it is: Download main program (beta version) at https://www.alivelearn.net/xjview/xjviewpro/xjviewpro.p Download sample input excel file: https://www.
Quite often you need to convert the coordinates of some voxels in MNI space to regular matrix coordinates. Below is a script to do so: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% mni2cor %%%%%%%%%%%%%%%
Check out the program: https://www.alivelearn.net/?p=1439 This program has a very simple graphic interface – only 2 buttons. The ‘load data’ button will ask you to load an excel file where you specify the path of images and event ti
This is some numbers I collected long time ago. What How Much Where Constants and Equations (a list) go to Brain Facts (a list) go to Metabolic Energy (a list) go to Number of neurons and synapses neurons 1011 synapses 1014 pyramidal neurons >80%
This is a manuscript Chao and myself prepared for a “commentary”. We think NIRS based hyperscanning has a great potential on the shift from one-person neuroscience to 2-people neuroscience. —- Toward an Ecologically Valid Second-per
While discussing data analysis with a coworker today, I Jokingly said my experience on brain imaging can be condensed into two lines of code: V = spm_vol('filename.img'); % note: spm_vol can also take nii files as input M = spm_read_vols(V); % M is a
We had an interesting discussion on the difference between sex and gender. According to Allan, sex refers to the biological difference (chromosomes contain Y), while gender refers to how a person thinks of himself/herself. So when a person believes h