Skip to main content

Crate frenz_export

Crate frenz_export 

Source
Expand description

Turns FRENZ recordings into time-aligned, analysis-ready session datasets.

A session dataset is a folder with one zstd Parquet file per stream (eeg, accel, gyro, ppg, vitals, battery, contact, status, markers) and a session.json describing sources, units, channel map, timing fits and data-quality counts. Every sample row has t, its estimated acquisition time in Unix seconds on one host clock, so streams align directly. Values stay in raw device units; nothing is dropped or interpolated. Rows that repeat an earlier block are flagged duplicate, and each uninterrupted stretch has its own segment number.

Source: SQLite recordings written by the frenz crate (recording).

Modules§

recording
Sessions from SQLite recordings written by the frenz crate.
table
A minimal columnar table and its Parquet writer.
timing
Estimating sample acquisition times from packet arrival times.

Structs§

Session
An in-memory session: metadata plus one table per stream.

Enums§

Error
Export errors.

Constants§

FORMAT
Format identifier written to session.json.

Functions§

read
Reads a .sqlite recording.