meeg-utils Documentation#

Python 3.11+ License: MIT Code style: ruff

MEG and EEG quality control, preprocessing and epoching on top of MNE-Python: scikit-learn style steps with documented defaults, QC metrics and figures for every step, BIDS in and out.

meeg-utils modules: io, qc, steps, Pipeline, presets, epochs, Dataset, report and the meu command
import meeg_utils as meu

raw = meu.io.read("bids/sub-01/eeg/sub-01_task-oddball_eeg.vhdr")
meu.qc.inspect(raw)                     # how well was it recorded?
pipe = meu.Pipeline.preset("eeg-erp")   # every parameter has a cited source
clean = pipe.fit_transform(raw)
pipe.plot(inst=raw)                     # figures of every step

New here? Start with the Tutorials: they run on real data and show what every step does.

Analysis (ERP/ERF measures, spectra, time-frequency, group statistics) is planned; the outputs are plain MNE objects, so MNE’s own analysis tools apply directly.