This repository contains the research code from Bomatter et al 2024, eBioMedicine.
For the software library please checkout the meeglet package.
- Create a conda environment from the
environment.yml
file:conda env create -f environment.yml
- Activate the environment:
conda activate eeg-biomaker-paper
- Install the core package:
pip install -e .
- Create a copy of
config.example.yml
and rename it toconfig.yml
- Adjust the configurations to specify the paths to the datasets in BIDS format as well as output paths where results should be saved.
- Request access and download the TUAB and TDBRAIN datasets. Configure the
DATASETS.TUAB.source_root
and theDATASETS.TDBRAIN.bids_root
directories in yourconfig.yml
file accordingly. Note that TDBRAIN is provided in BIDS format whereas the TUAB dataset will be converted to BIDS format using a script in the next step. - Run through the notebooks in the
scripts
folder in the order indicated by the file names to reproduce the paper results.