Data and formats
Phasic opens four recording formats and browses one dataset layout. What it can write is a smaller set than what it can read, and the two are worth checking before you plan a workflow around them.
| Format | Read | Write | Per-channel rates | Events |
|---|---|---|---|---|
| EDF (16-bit) | yes | no | upsampled to a master grid | EDF+ annotations, read only |
| BDF (24-bit) | yes | yes | upsampled to a master grid | BDF+ annotations, read and write |
| XDF 1.0 | yes | yes | native — each stream keeps its own | marker streams |
BrainVision (.vhdr/.eeg/.vmrk) |
yes (INT_16, UINT_16, IEEE_FLOAT_32; multiplexed & vectorized) |
yes (IEEE_FLOAT_32 multiplexed) |
single recording rate | .vmrk markers, read and write |
| BIDS | metadata, plus EDF/BDF/BrainVision recordings | no | — | events.tsv |
There is no CSV import or export of signal data. The only CSV Phasic writes is a prediction table from the inference pane. TSV appears solely as BIDS sidecar metadata, never as a signal source.
Opening a file
Phasic accepts .bdf, .edf, .xdf, and .vhdr, by drag-and-drop or through Open File…. Any
other extension is refused:
Unsupported file type. Please choose a .bdf, .edf, .xdf or .vhdr file.
A directory, or a dataset_description.json, is treated as a BIDS dataset.
XDF is handled differently from the moment it is opened. An XDF file contains several streams and cannot become a single document, so it opens a stream picker rather than a plot.
Saving
Saving dispatches on the extension you choose, and accepts three:
unsupported save extension (use .bdf, .xdf, or .vhdr)
EDF is read-only. A recording opened from .edf cannot be saved back as .edf; save it
as BDF, XDF, or BrainVision instead. See Export for what each choice preserves and
what it costs.
The rate difference between BDF/EDF and XDF
The same recording behaves differently depending on which format carries it, and this is the single most important distinction in this chapter.
BDF and EDF flatten onto one master grid. A file mixing EEG at 256 Hz with SpO2 at 1 Hz is presented on a single timeline running at the highest rate present, with slower channels interpolated up to match. The rate Phasic reports is that master rate, not any individual channel’s native rate.
XDF keeps every stream at its own rate. An XDF file becomes several independent sources sharing one session clock, each with its own sample rate and channel set — nothing is resampled to match anything else.
This matters on export: saving a heterogeneous BDF or EDF writes every channel at the master rate, so the original per-channel rates are not recovered. See Export.
Pages
- BDF and EDF — the file formats most recordings arrive in
- XDF — the Lab Streaming Layer’s recording format
- BIDS — dataset browsing and sidecar metadata
- Export — what the writers produce and what each format preserves