Trace

A document-based SwiftUI application for viewing and editing EEG data.

Overview

Trace Preview

View EEG data conveniently on your phone, with the same powerful functions as desktop alternatives. Use a 2-dimensional scalp map visualisation and effortlessly scrub through samples, or plot potentials over time for a graphic solution. Import multi-stream data from CSV or from text, and save and share your EEG data with the new minimal, space-efficient Trace document type, .trace.

Electrode support

Trace supports the International 10-20 system for labelling electrodes. Each electrode label is governed by a prefix and a suffix.

Trace supports the following prefixes: prefrontal (Fp), frontal (F), temporal (T), parietal (P), occipital (O), central (C) and mastoid (A). The suffixes are integer values above 0, with even numbers corresponding to the right lobe of the brain, and odd numbers the left lobe. The number 0 refers to the central line on the scalp between the lobes, and is often written as the letter ‘z’. Examples of electrode labels include ‘Fp1’ or Cz’.

Electrode locations are used to construct the 2-dimensional scalp map visualisation, and the following indexes are supported:

  • prefrontal: 1, 2.
  • frontal: 0 (z), 3, 4, 7, 8.
  • temporal: 3, 4, 5, 6.
  • parietal: 0 (z), 3, 4.
  • occipital: 1, 2.
  • central: 0 (z), 3, 4.
  • mastoid: 1, 2.

Data import

Trace supports data import from .csv files and from text pasted into the app, and the file parsers have the following requirements:

  • CSV files: each column represents a stream, with the first cell corresponding to the electrode label, and the rest of the cells form the array of samples. Each column (i.e., each stream) must have the same number of samples, and the electrode label must satisfy the format specified above.
  • text files: newline-separated values.

Compatability

iOS

Requires Xcode 14 (beta) or later and iOS 16 (beta) or later to install and run

Contact

Want to submit feedback or request a feature? Email me at [email protected], find me on Instagram with the tag @tahmid.az or on LinkedIn.


.

GitHub

View Github