Skip to main content

A modular framework for automated EEG data processing, built on MNE-Python

Project description

AutoCleanEEG Pipeline

Python License Code style: black

A modular framework for automated EEG data processing, built on MNE-Python.

Features

  • Framework for automated EEG preprocessing with "lego block" modularity
  • Support for multiple EEG paradigms (ASSR, Chirp, MMN, Resting State)
  • BIDS-compatible data organization and comprehensive quality control
  • Extensible plugin system for file formats, montages, and event processing
  • Research-focused workflow: single file testing → parameter tuning → batch processing
  • Detailed output: logs (stored in your AutoClean workspace), stage files, metadata, and quality control visualizations

Installation (uv)

Use Astral's uv for fast, isolated installs. If you don't have uv yet, see https://docs.astral.sh/uv/

  • Install CLI (recommended for users):
uv tool install autocleaneeg-pipeline
autocleaneeg-pipeline --help
  • Upgrade or remove:
uv tool upgrade autocleaneeg-pipeline
uv tool uninstall autocleaneeg-pipeline
  • Development install from source:
git clone https://github.com/cincibrainlab/autoclean_pipeline.git
cd autoclean_pipeline
uv venv && source .venv/bin/activate   # Windows: .venv\\Scripts\\activate
uv pip install -e .
# Optional extras
# uv pip install -e '.[gui]'   # GUI review tool dependencies
# uv pip install -e '.[docs]'  # Documentation tooling

Quick Start

Process a file using a built-in task:

autocleaneeg-pipeline process RestingEyesOpen /path/to/data.raw

List tasks and show overrides:

autocleaneeg-pipeline list-tasks --overrides

Task Commands

Common task management commands:

# List available tasks (built-in and workspace)
autocleaneeg-pipeline task list

# Generate a new task template in your workspace
autocleaneeg-pipeline task template

# Open tasks folder
autocleaneeg-pipeline task explore

# Edit a task by name or path
autocleaneeg-pipeline task edit <name|path>

# Import or copy tasks into the workspace
autocleaneeg-pipeline task import <path>
autocleaneeg-pipeline task copy <name|path>

# Manage active task
autocleaneeg-pipeline task set <name>
autocleaneeg-pipeline task show
autocleaneeg-pipeline task unset

Prefer a web wizard? TaskWizard: https://taskwizard.autocleaneeg.org/

Theme and Color

AutoClean’s CLI uses Rich with semantic styles and adaptive themes for readable output across light/dark terminals, limited color depth, and colorless logs.

  • Flag: --theme auto|dark|light|hc|mono (default: auto)
    • mono: Monochrome (no hues), ideal for logs or unknown backgrounds
    • hc: High-contrast, accessible on both dark and light backgrounds
  • Env overrides:
    • AUTOCLEAN_THEME=auto|dark|light|hc|mono
    • AUTOCLEAN_COLOR_DEPTH=auto|8|256|truecolor
    • NO_COLOR=1 disables color
    • FORCE_COLOR=1 forces color even in non-TTY (e.g., CI)

Examples:

autocleaneeg-pipeline --theme light list-tasks
AUTOCLEAN_THEME=hc autocleaneeg-pipeline version
NO_COLOR=1 autocleaneeg-pipeline list-tasks

Documentation

Full documentation is available at https://cincibrainlab.github.io/autoclean_pipeline/

Contributing

We welcome contributions! Please see our Contributing Guide for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Cincinnati Children's Hospital Research Foundation
  • Built with MNE-Python

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autocleaneeg_pipeline-2.2.4.tar.gz (484.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autocleaneeg_pipeline-2.2.4-py3-none-any.whl (427.6 kB view details)

Uploaded Python 3

File details

Details for the file autocleaneeg_pipeline-2.2.4.tar.gz.

File metadata

File hashes

Hashes for autocleaneeg_pipeline-2.2.4.tar.gz
Algorithm Hash digest
SHA256 8d4fc7162c66e585a066627334f955950b54fd4f012b384ceafeec73c67572da
MD5 cabd719377a6bf82b4902e043a4bffed
BLAKE2b-256 d2cb723bfeedf4f3129596576426ac1d2e2968d2d4a9aba3a0cb1c362cf9d77c

See more details on using hashes here.

File details

Details for the file autocleaneeg_pipeline-2.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for autocleaneeg_pipeline-2.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c0f3e7a092b9a2173cfc9d0fa39fa5313064cd597b019ff9d769f71c67cf7cac
MD5 9877198a9f74741ed663042ba3ca7e91
BLAKE2b-256 6fb64dfb9ce0e977aa443c3088360b69daf9707088ff8579094f69f74050b0f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page