Editing
Requires: (no feature flag)
Applies to: all channel kinds
Phasic never modifies your recording. The file you opened is read-only and stays exactly as it was on disk.
Every change you make — an annotation, a filter, a montage, a crop — is stored as a description of the change, held in a layer over the untouched source. The plot shows the source with that layer applied. Exporting writes the result out as a new file.
This has consequences worth knowing:
- Nothing you do can damage the original. There is no destructive operation
- Every edit is reversible, individually and in any order — removing a filter from the middle of a chain is as cheap as adding one, because nothing was ever baked in
- Edits are independent of the data. They describe intent — “band-pass 1–40 Hz”, “average reference” — not a modified copy of your samples
- Changing one edit re-derives the rest. Switching montage after adding filters does not require redoing the filters
What is stored
| Edit | Effect |
|---|---|
| Annotations | Markers you added or changed, kept sorted by onset |
| Channel map | Which channels are shown, their order, and their display names |
| Channel semantics | Manual kind and unit overrides, for channels whose type could not be inferred |
| Crop regions | Named regions to keep. Empty means export everything |
| Filters | An ordered chain of filter specifications |
| Montage | The active re-referencing scheme |
| Interpolation | Bad channels to reconstruct from their neighbours |
| ICA | A fitted decomposition plus which components to remove |
| ASR | Artifact cleaning parameters |
| Preprocessing | Resampling and normalization, applied at export |
Channel semantics overrides are sparse — only channels that could not resolve on their own are stored, so a recording whose channels were all recognised carries none.
Order of application
Edits are applied in a fixed order, not the order you added them. This is what both the plot and the export use:
raw → ASR → interpolation → montage → filters → ICA → resample → normalize → channel selection
The order is not arbitrary. Each stage is placed where its assumptions hold:
ASR is applied lowest, by substituting a cleaned signal for the raw one, so everything above sees cleaned data without needing to know that cleaning happened.
Interpolation runs before the montage. It reconstructs bad channels in place, leaving the channel set unchanged, so a montage computed afterwards references repaired channels rather than broken ones.
Montage and ICA own the channel set. When either is active it determines which channels exist, so a separate channel selection is not applied on top.
Interpolation and ASR are transparent to the channel set — same count, same order, same names. Only the samples change.
Crop regions
A crop does not delete anything. It marks regions to keep, and export writes those regions concatenated in time order.
All processing runs on the whole recording before any crop is applied, so a filter never sees a crop seam and the exported result matches what the plot showed.
Undo
Undo and redo operate on the whole edit layer — each step restores the complete previous state rather than reversing one field.
History holds 50 steps. Beyond that the oldest is discarded. Making a new edit after undoing clears the redo stack, as usual.
Loading metadata is not an edit. Sidecar information from a BIDS dataset — channel types, events, electrode positions — forms the document’s baseline. It is not undoable and does not mark the document as modified, because it describes what the recording is rather than a change you made to it.