About Phasic
Phasic is a desktop application for viewing, editing and analysing biosignal recordings. It opens EEG and polysomnography files, plays back live streams, applies a non-destructive processing chain, and runs pretrained models over the result.
It is a native application written in Rust, rendering through the GPU. Recordings are memory-mapped and decoded on background threads, so a multi-hour, high-density file scrolls without first being loaded into RAM.
No modality is privileged
Phasic began as an EEG tool and is no longer only one. A recording may carry EEG alongside EOG, EMG, ECG, respiration, SpO2, temperature, accelerometer, gyroscope and audio channels, each at its own sample rate, and all of them are first-class: they plot, scale, filter and export on the same terms.
What differs is scope. Operations that depend on the spatial arrangement of electrodes — re-referencing, montages, ICA, ASR, scalp topography — apply to electrophysiological channels and leave the rest alone. They scope themselves rather than assuming the whole recording is EEG. Every page in this manual states what its operation applies to.
What Phasic does
- Reads BDF, EDF and XDF recordings, and browses BIDS datasets
- Displays many recordings at once in a tiling pane layout, each pane an independent view of a document
- Edits non-destructively: annotations, channel maps, crops, filters, montages and interpolation are stored as reversible specifications rather than changes to your data
- Processes with filters, re-referencing, bad-channel detection and spherical-spline interpolation, resampling, normalization, ASR and ICA
- Analyses with Welch PSD, spectrograms, event-related potentials and 2D/3D scalp topographies
- Runs models — ONNX graphs described by a manifest, scoring a recording and drawing predictions in the app. An optional feature, off by default
- Ingests live streams over Lab Streaming Layer, with audio monitoring and XDF recording
- Exports to BDF and XDF, applying the edit chain, and batch-processes whole datasets through saved recipes
What Phasic is not
Not a clinical device. Phasic is a research and engineering tool. It is not certified, cleared or validated for diagnosis, treatment or any clinical decision, and must not be used for one.
Not a scripting library. Phasic is an application, not a toolkit to write analyses against. For programmatic work, established libraries such as MNE-Python serve that purpose better, and Phasic reads and writes the same formats so the two interoperate.
Not a closed-loop BCI platform. Phasic ingests live streams and processes them online, but it does not send signals back out. An LSL outlet and closed-loop control were considered and deliberately dropped as out of scope. Live ingest remains supported.
Not a model training environment. Models are data that Phasic loads, not code it contains. Training and export happen in separate repositories; see the model chapter for the contract a model must meet.
Project status
Phasic is pre-1.0 and under active development. The formats, processing and inference described here work and are covered by an automated test suite, but interfaces may change between versions and there is no stability guarantee yet.
Linux is the platform the project is developed and tested on. See Installation for the current state of other platforms.