meeg-utils
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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| meeg_utils-0.2.0.tar.gz | 580.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|