Phasic← Overview

Reference manual

What every part of Phasic does. This is a reference, not a course: each page describes one pane, format or operation, and is meant to be looked up rather than read front to back.

The Markdown lives in the Phasic repository, beside the code it describes, so a change to a pane and a change to its page belong in the same commit.

Introduction

  • About PhasicWhat Phasic is, what it is not, and where the project currently stands.

Installation

  • InstallationPlatforms, requirements, and the shortest path to a running build.
  • Building from sourceBuild profiles, running the test suite, and the workspace layout.
  • Feature flagsThe optional Cargo features, what each one adds, and what it costs to enable.
  • The ONNX runtimeInstalling the shared library that model inference loads, and how Phasic finds it.
  • Sample dataGenerating synthetic recordings to explore Phasic without supplying your own files.
  • File layoutWhere Phasic looks for models, runtimes and assets, and how to relocate them.

Interface

  • InterfaceThe window layout — toolbar, inspector, tools panel and the pane area.
  • ToolbarEvery toolbar control, and when each is available.
  • InspectorThe left panel — datasets, open files, processing stages and channels.
  • Tools panelThe right panel — the controls for whichever stage you selected.
  • Keyboard and mouseEvery binding, and an honest account of what is not bound.
  • ThemingLight and dark grounds, and the type used throughout.

Panes

  • PanesThe eight pane types, how they are opened and arranged, and what each one needs before it can show anything.
  • Plot paneThe signal itself — traces, navigation, annotations and the live control bar.
  • Topomap paneOne value per channel, mapped onto the scalp in 2D or 3D.
  • Spectrum panePower spectral density, one curve per channel.
  • Spectrogram paneTime against frequency for one channel, as a heat map.
  • ERP paneAveraged response time-locked to an event.
  • ICA paneIndependent components, their scalp maps, and artifact rejection.
  • Recipe paneThe processing pipeline as an editable node graph, and the template for batch runs.
  • Inference paneLoading a model, checking it against the recording, running it, and reading the result.

Data and formats

  • Data and formatsWhich formats Phasic reads and writes, and the behaviour that differs between them.
  • BDF and EDFThe 24-bit and 16-bit European Data Format variants — what is supported, and where a file can mislead you.
  • XDFThe Lab Streaming Layer's recording format — multiple streams on one session clock.
  • BIDS datasetsBrowsing a BIDS-EEG dataset and the sidecar metadata Phasic reads from it.
  • ExportWhat saving produces, the order processing is applied in, and what each format preserves.

Editing

  • EditingHow Phasic changes a recording without altering it — the edit overlay, its order of application, and undo.

Processing

  • ProcessingThe operations applied over a recording, the order they run in, and which channels each one touches.
  • FiltersThe filter chain — kinds, parameters, and the difference between offline and live filtering.
  • Montages and re-referencingAverage reference, custom reference and bipolar derivations.
  • Bad channelsDetecting unusable channels and reconstructing them from their neighbours.
  • ASRArtifact Subspace Reconstruction — continuous cleaning of high-amplitude transients.
  • ICAIndependent component analysis and artifact rejection.
  • Resampling and normalizationChanging the sample rate and rescaling amplitudes, both applied at export.

Models and inference

  • Models and inferenceRunning pretrained models over a recording — how a model is described, and what running one produces.
  • The model zooThe models Phasic can run, what each requires, and the licence and citation each carries.
  • Manifest referenceEvery field of the model contract.
  • Adding a modelThe path from an upstream checkpoint to a model Phasic can run.

Live and streaming

  • Live and streamingIngesting Lab Streaming Layer sources, what a session is, and how it is recorded.

Batch and recipes

  • Batch and recipesDefining a processing pipeline once and running it across a whole dataset.

Correctness

  • Correctness and validationHow Phasic's results are verified — conformance oracles, round-trips, and model parity against upstream implementations.

Appendices

Start reading →