Overview
Each processing task writes to a self‑contained folder. AutoCleanEEG separates the strict BIDS tree (for input/derivatives) from task‑root convenience folders (for final deliverables, logs, and QA).Diagram (Mermaid)
BIDS and Derivatives
bids/holds the raw‑like inputs following BIDS conventions.bids/derivatives/holds numbered stage folders (e.g.,01_import/…16_comp/). These are stepwise artifacts, not final deliverables.- Both
bids/dataset_description.jsonandbids/derivatives/dataset_description.jsonare produced. AutoCleanEEG amends the dataset description to setNameto the task and addGeneratedByforautocleaneeg-pipeline.
Exports (Final Deliverables)
- The task‑root
exports/folder contains EEG‑only EEGLAB.setfiles derived from the last stage, plus convenience copies of the per‑file processing CSV and run log. - Fastplot QA visualizations are generated from these exported
.setfiles to ensure alignment with the final deliverables.
Logs and Reports
logs/pipeline.logis a single append‑only log for the task.- Per‑file reports are stored in
reports/run_reports/and include*_autoclean_report.pdf, the per‑file*_processing_log.csv, and the*_autoclean_metadata.jsonJSON summary. - A combined task‑level log is written to
<task>/preprocessing_log.csv.
QA and ICA
qa/contains fastplot summary images (*_fastplot_summary.png) andqa_manifest.csvwith columns:image,source_file,qa_status(defaults tounverified), andtimestamp.ica/contains exported ICA FIF files and an editableica_control_sheet.csvfor reviewing/reapplying components.
Notes
- Final user deliverables live under
exports/; intermediate artifacts remain inbids/derivatives/. - The pipeline writes the QA image after exports are created, using exported data only.
- The combined processing log at the task root (
preprocessing_log.csv) has no task prefix. - The structure avoids version‑named derivative folders; provenance is captured in
dataset_description.jsonand the per‑run JSONs inreports/run_reports/.