Batch and recipes
Recipe pane: + View ▸ Recipe
Batch run: right-click a dataset in the inspector ▸ Run recipe on dataset…
Requires: (no feature flag)
Applies to: all channel kinds
A recipe is a processing pipeline saved independently of any recording. Define it once, then apply it to one recording interactively or to every recording in a BIDS dataset at once.
A recipe stores intent, never results
This is the idea the whole feature rests on.
A recipe records what to do — “band-pass 1–40 Hz”, “average reference”, “detect bad channels automatically” — and never what that produced on some particular file.
The distinction matters most for the steps that must be fitted per recording:
Bad channels are stored as the intent “auto-detect”, not as a list of channel indices. A channel that is bad in one recording is fine in another, and replaying indices would flag healthy electrodes and miss faulty ones.
ASR is stored as its parameters, and the covariance model is re-learnt from each recording. A model calibrated on one subject describes that subject’s clean data, not anyone else’s.
ICA is deliberately excluded from recipes. Its rejection is a manual judgement about specific components, and it carries a per-file fitted decomposition that cannot meaningfully be replayed onto a different recording. Until an automatic classifier exists, ICA stays a per-recording operation.
Building a recipe
Use the Recipe pane to build a pipeline as a node graph, or Extract from current to capture the processing you have already set up on a recording.
Extracting is usually the easier path: get one recording right interactively, extract, then run it across the dataset.
Recipes save and load as JSON.
Running across a dataset
Right-click a dataset in the inspector and choose Run recipe on dataset…
The run is headless and off the interface thread. For each recording it repeats exactly what the interactive application does:
- Open the source
- Apply the dataset’s sidecar metadata, then the recipe
- Re-fit the per-file steps against this recording — bad-channel detection, ASR calibration
- Compile the channel plan
- Apply the processing chain
- Write the output
Step 3 is why a recipe is worth having. Nothing fitted carries between files.
The batch path and the interactive export share the same processing core, so a batch result and a manual export of the same recording with the same settings cannot drift apart.
What is processed
Only recordings Phasic can read — EDF and BDF. BrainVision and EEGLAB recordings in the dataset are skipped, since there is no reader for them. See BIDS.
Things to know
Check the recipe on one recording first. A recipe applied across a dataset does the same thing everywhere; if a filter is wrong, it is wrong everywhere. Extract-then-run makes this natural, because you have necessarily verified one file.
Per-file fitting means per-file variation. Automatic bad-channel detection will flag different channels in different recordings — that is the intent, but it does mean the output channel sets are not identical across the dataset.
Applying a recipe interactively is one undoable edit — with one exception. If the recipe requests automatic bad-channel detection, that lands as a second undo step when the background detector finishes. Undo twice to remove both.