This is the repository for a 1-day workshop on EEG analysis using MNE-Python.
The workshop is taking place on October 17th, 2024 at Universität Hamburg, psychology department organized by Anne Löttert
Authors of the material:
- Carina Forster, Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig
- Alexandre Gramfort, Intro to Python scripts
- Britta Westner, Radboud University, Donders Institute, Nijmegen, source localization scripts
Huge credits to the authors of this amazing online resource: Neural Data Science in Python
Please make sure you do the following steps before the first hands-on session:
- You will need to download the notebooks contained in this repository (.ipynb)
- Please download the following data for group analysis.
- You must have an up-to-date version of MNE-Python installed on your machine (you need a full install with all dependencies, not "MNE-Python with core functionalities only"). See instructions at: https://mne.tools/stable/install/index.html
- To check your installation, please look at the (very short!) notebook Check your installation. See below if you need a reminder on how to start it.
- If you are not familiar with Python, we invite you to take the time to work on these tutorials: Intro to Python, Intro to Numpy.
We won't have time to cover version control and git in great detail but I recommend checking out this great resource
To start a Jupyter notebook, open your terminal and navigate to the directory where you saved this directory of scripts.
Then type the command jupyter notebook
and Jupyter should open in your internet browser.
Click on the notebook you want to run!
You can of course use Jupyter Notebooks in your preferred IDE (Integrated Developer Environment), e.g. VSCode
The code from this tutorial is heavily inspired from this article:
Mainak Jas, Eric Larson, Denis Engemann, Jaakko Leppakangas, Samu Taulu, Matti Hamalainen,
and Alexandre Gramfort. 2018. A Reproducible MEG/EEG Group Study With the MNE Software:
Recommendations, Quality Assessments, and Good Practices.
Frontiers in Neuroscience. 12, doi: 10.3389/fnins.2018.00530
The MNE software when used in publications should be acknowledged using citations.
To cite MNE-C or the inverse imaging implementations provided by the MNE software, please use:
A. Gramfort, M. Luessi, E. Larson, D. Engemann, D. Strohmeier, C. Brodbeck, L. Parkkonen,
M. Hämäläinen, MNE software for processing MEG and EEG data, NeuroImage, Volume 86,
1 February 2014, Pages 446-460, ISSN 1053-8119.
To cite the MNE-Python package, please use:
A. Gramfort, M. Luessi, E. Larson, D. Engemann, D. Strohmeier, C. Brodbeck, R. Goj, M. Jas,
T. Brooks, L. Parkkonen, M. Hämäläinen, MEG and EEG data analysis with MNE-Python,
Frontiers in Neuroscience, Volume 7, 2013, ISSN 1662-453X.