nirs

Using serial port to control ETG4000

To synchronize NIRS recording and your stimuli (visual, auditory, button press etc), your presentation program needs to talk to the NIRS machine. Hitachi ETG4000 allows serial communication between the NIRS machine and an external computer. You can u
Xu Cui
2 min read

Published two papers

Both are on NIRS (Near Infrared Spectroscopy). The first one is on how to detect NIRS activity earlier using multivariate (SVM) method; the 2nd one is a comprehensive comparison between NIRS and fMRI. Cui, Bray, Reiss (2010) Speeded Near Infrared Spe
Xu Cui
19 sec read

Some plot functions for NIRS

1. plotTraces, plot a time series, or multiple time series on one plot, with vertical lines indicating the markers (events). Can be used for data quality check and global signal detection. 2. plotTopoMap, plot a map of activation. 3. plot2, scatter p
Xu Cui
22 sec read

tcpip connection with pnet

We use TCP/UDP/IP Toolbox 2.0.5 to read and write data from/to a TCPIP port. It’s fast and reliable. The version we use is 2.0.5. Below is a matlab sample script showing how to connect to another computer (called ETG-4000) with TCPIP : %Connect
Xu Cui
1 min read

Noise removal in NIRS

Noise removal methods in NIRS can be divided into 4 categories: reducing noise based on its temporal characteristics: The instrument noise is usually in the high frequency band and thus can be removed by band pass filtering. Band pass filtering can a
Xu Cui
41 sec read

Use serial port to trigger ETG 4000 with E-Prime

Open properties of the experiment, select tab “Devices” Add a serial port. Make sure the COM Port number is correct In your experiment flow, add inline function to where you want to trigger ETG4000 or put marker. In that function, enter t
Xu Cui
14 sec read

Sensitivity, specificity, ROC, AUC …

You can’t believe how much jargon there is in binary classification. Just remember the following diagram (from wiki). accuracy = ( TP + TN ) / (P+N), i.e. correctly classified divided by the total false discovery rate (FDR) = TP / (TP+FP), i.e.
Xu Cui
1 min read

Advantage and Disadvantage of NIRS over fMRI

Advantages cheaper portable (smaller) safe natural settings (e.g. real human interactions instead of computer presentation) high temporal resolution (10Hz) less sensitive to head motion clinically friendly less environment noise long time recording c
Xu Cui
18 sec read

NIRS data analysis (time series)

Also check out NIRS data analysis (GLM and visualization) Environment requirement MatLab SPM xTopo under xjView xjview is located in /fs/fmrihome/fMRItools/Xjview Add xjview to path by addpath(genpath('/fs/fmrihome/fMRItool
Xu Cui
1 min read