eegprep#

A comprehensive Python EEG preprocessing pipeline for neuroscience research.

Get started with:

pip install eegprep

Contents:

Quick Start#

Installation#

Install eegprep using pip:

pip install eegprep

Basic Usage#

import eegprep
from eegprep import EEGobj

# Load EEG data
eeg = EEGobj.load('data.set')

# Apply preprocessing pipeline
eeg = eegprep.clean_artifacts(eeg)
eeg = eegprep.clean_flatlines(eeg)
eeg = eegprep.clean_channels(eeg)

# Save processed data
eeg.save('data_processed.set')

Features#

  • Comprehensive preprocessing: Artifact removal, channel cleaning, and data quality assessment

  • ICA-based component classification: Automatic IC labeling using ICLabel

  • BIDS compatibility: Direct support for BIDS-formatted EEG datasets

  • MNE integration: Seamless conversion between eegprep and MNE-Python formats

  • Flexible pipeline: Mix and match preprocessing steps for your specific needs

  • Well-documented: Extensive API documentation and user guides

Indices and tables#