The walkthrough.py code suggests for general pipeline of EEG preprocessing to ERP plotting using the MNE toolbox (https://mne-tools.github.io/stable/index.html).
The walkthrough_basics.ipynb runs through the basics from reading in raw instace and creating metadata using custom codes for the experiment to creating epochs and plotting evoked responses by condition using the created metadata.
The walkthrough_advanced.ipynb runs independent component analysis to reject bad ICs and uses automated autoreject module to further clean the data. With the cleaned epochs and evoked response, we compare the results to the original data processed from walkthrough_basics.
To run the code locally, see dependencies.
- raw data and events export text: Link download from Google Drive ~500MB
- Download the raw file and move to /data/ directory
-
MNE toolbox: https://mne-tools.github.io/stable/getting_started.html
-
autoreject: http://autoreject.github.io/#installation
-
pandas: https://pandas.pydata.org
-
matplotlib: https://matplotlib.org/users/installing.html
-
Scipy: https://www.scipy.org