Create EEG_ICA.m

EEG recorded within the MRI scanner simultaneously suffers from severe artifacts that make it difficult to see the underlying brain responses. We recorded EEG data using a 32 channel BioSemi system, with FCz as a reference electrode.

This script will run ICA on single trial data to identify independent components underlying the EEG signal. Hopefully this will help disambiguate EEG signals resulting from artifacts (e.g. muscle, cardiobalistic, and MR) versus actual brain responses.

I run this script after exporting single trial (stimulus/response time-locked epochs) from Brain Vision Analyzer, and then running canonical correlations based on Gratton & Coles methods as a first attempt to remove artifacts from the EEG. It will read in a '.mat' file with an EEG structure.