-
Notifications
You must be signed in to change notification settings - Fork 0
EEG_1: Preprocessing
There are two preprocessing scripts - one written in MATLAB and the other using Python and MNE.
-
To access this script, go to the filepath 'codes/preprocessing_script.py'.
-
The script first reads a raw brainvision file.
-
Then, it filters the data using a high-pass filter at 1Hz, and a notch filter at 59 to 61 Hz.
-
Then, the data is rereferenced to the TP9 and TP10 channels.
-
ICA is then run on the data and the eye blink component is removed.
-
The final .set file is exported.
-
To access this script, go to the filepath 'codes/preprocess_self.m'.
-
Similar steps are run as the Python Script above.
-
After removal of the eye blink component, a correlation plot is made of the eye blink artifact with all the channels and the correlation values are compared to cross-check the results of the script.