The derivatives/ Folder
The derivatives/ folder follows the BIDS derivatives standard, where processed data are kept separate from raw‑like files.
AutoCleanEEG writes a single derivatives tree without versioned subfolders; provenance is tracked in the dataset_description.json and the top‑level task metadata.
Example Layout
Key Components
| Item | Purpose |
|---|---|
dataset_description.json | Required by BIDS derivatives. Documents the pipeline, version, and references. |
| Stage folders | Numbered stage outputs (e.g., 01_import/ … 16_comp/) placed directly under derivatives/. |
Why Derivatives Matter
- Traceability:
dataset_description.jsonnames the pipeline; versions are tracked in the task metadata and reports. - Separation of concerns: Raw-like BIDS inputs are preserved; processed stage outputs live here.
- Compatibility: BIDS‑aware tools know to look in
derivatives/for secondary outputs. - Debugging: Stage folders keep step‑wise artifacts organized; QA and reports live at the task root.
If disk space is limited, you can archive or delete stage folders once you no longer need to inspect intermediate files. Final user‑facing outputs live under the task‑root
exports/ folder.