xdf library

Cyton SD card recordings as XDF files, for the tools that read XDF (e.g. LSL Viewer, pyxdf, EEGLAB, MNE).

Classes

CytonSdSummary
What convertCytonSdToXdf found in a recording.

Functions

convertCytonSdToXdf(Stream<List<int>> input, Sink<List<int>> sink, {String name = 'OpenBCI Cyton', List<String>? labels, List<String>? types, double? rate, List<int>? gains, CytonBoardMode? mode, int layoutLines = 2500}) → Future<CytonSdSummary>
Convert an SD card recording, read from input in pieces, to XDF on sink, without holding the recording: a stream of its channels (µV) named name, with labels and types (e.g. EEG, EMG) per channel, one of its accelerometer (g) if it has one, and one of its markers if it has any. Time stamps start at 0. Reading stops at the file's unused space.