Configuration Guide
AutoClean uses a YAML configuration file to control pipeline behavior. This guide explains all available configuration options.
Basic Configuration
Here's a minimal configuration example:
Environment Variables
AutoClean requires two environment variables:
AUTOCLEAN_DIR: Root directory for output filesAUTOCLEAN_CONFIG: Path to your configuration YAML file
You can set these in your .env file or export them directly:
Configuration Options
Required Settings
| Option | Description | Type | Example |
|---|---|---|---|
task |
Processing task type | string | resting_eyesopen |
eeg_system |
EEG system montage | string | biosemi64 |
input_file |
Path to input EEG file | string | /path/to/file.bdf |
Optional Settings
| Option | Description | Default | Type |
|---|---|---|---|
line_freq |
Power line frequency | 60.0 | float |
resample_freq |
Resampling frequency | 250 | integer |
ref_type |
Reference type | average |
string |
crop_start |
Start time for cropping | 0 | float |
crop_end |
End time for cropping | None | float |
Advanced Configuration
Bad Channel Detection
ICA Settings
Artifact Rejection
Configuration File Location
The configuration file can be placed anywhere, but it's recommended to keep it in your project root directory. The location must be specified in the AUTOCLEAN_CONFIG environment variable.