Skip to main content

meeg-utils

CI Documentation PyPI version Python 3.11+ License: MIT

MEG/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

Or a whole BIDS dataset from the command line:

meu qc bids/ --out qc/
meu run --preset eeg-erp --epochs --option "event_id=[target, standard]" \
    --sources bids/ --out bids/derivatives/meu
  • Acquisition QC: bridged electrodes, flat channels, line noise, head movement, SQUID jumps, empty room, BIDS metadata, ...
  • Steps for every system MNE reads: PREP, ZapLine-plus, SSS/tSSS, HFC, ICA with ICLabel/MEGnet, autoreject, ...
  • Presets: eeg-erp, eeg-rest, meg-erp, meg-rest, had-meeg.

Installation

pip install meeg-utils

Documentation

Tutorials, user guide and API · design notes (Chinese) · validation on real data (Chinese)

MIT License.

Metadata

Release files for meeg-utils 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for meeg-utils 0.2.0
File Size Uploaded
meeg_utils-0.2.0.tar.gz 580.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for meeg-utils 0.2.0
File Interpreter ABI Platform
meeg_utils-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 734.1 kB

Release files / meeg_utils-0.2.0.tar.gz

Download URL meeg_utils-0.2.0.tar.gz
Size 580.4 kB
Tags Source
SHA-256 checksum
How to use checksums
24822846e4022769d77084782f2de235ac07359a2d20a6cd25341f6d1af67e34
BLAKE2b-256 checksum
How to use checksums
ee77b569d4a98e493ffa28f633e44c26dad29a74d3d60d58136e3be163422ec4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / meeg_utils-0.2.0-py3-none-any.whl

Download URL meeg_utils-0.2.0-py3-none-any.whl
Size 153.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5debc62d5bdb18cc75abdad89c2ad1be2ab77846a736227f62afdea9fd536856
BLAKE2b-256 checksum
How to use checksums
b01293e21c7df8c51948d5207e90ba2c2f2323600d85c9e334e25d37885ac09b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.7

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page