Pipeline#
Main pipeline class for EEG processing.
This class serves as the primary interface for the autoclean package. It manages the complete processing workflow including:
Configuration loading and validation
Directory structure setup
Task instantiation and execution
Progress tracking and error handling
Results saving and report generation
The pipeline supports multiple EEG processing paradigms through its task registry, allowing researchers to process different types of EEG recordings with appropriate analysis pipelines.
Usage Examples#
from autoclean import Pipeline
# Initialize the pipeline
pipeline = Pipeline(
autoclean_dir="results/",
autoclean_config="configs/default.yaml"
)
# Process a single file
pipeline.process_file(
file_path="data/sub-01_task-rest_eeg.set",
task="rest_eyesopen"
)