OPM preprocessing pipeline built on mne-python and osl-ephys.
Grateful for advice from Lukas Rier and Robert Seymour.
git clone https://github.com/harrisonritz/opm-preproc.git
cd opm-preproc
conda env create -f environment.yml
conda activate opm-preproc
src/opm_format_bids.py
: BIDSify Cerca OPM data, annotating experimental eventssrc/opm_preproc.py
: run preprocessing pipeline for a single participantset_participant_params()
: set participant informationset_preproc_params()
: set pipeline optionsrun_preproc()
: run pipeline (top-level function)
- reject channels [osl]
- harmonic field correction
- temporal filter
- continuous segment reject [osl]
- fit ICA
- epoch, apply ICA, and resample
- reject epochs [osl]
- source reconstruction
- argument handling for batch scripting