EegChunk
A batch of decoded samples from one stream packet — the efficient public unit (one object per packet, not per sample). Channel labels + srate travel with the data so consumers never reconstruct layout by hand (the legacy positional FloatArray contract is gone).
IMU values are in the physical units the BrainAccess C/Python SDK delivers — the conversion from the wire's raw counts is per hardware generation (DeviceHardware); an EegChunk never carries counts.
Constructors
Properties
flat [sampleCount * 3] accelerometer x/y/z in m/s², or null when the hardware has no accelerometer (HALO V1/V2). One reading per packet, repeated on each sample.
per-active-channel electrode contact (length == channels.size); false = not connected.
device sample counter of the first sample (gaps detectable).
flat [sampleCount * 3] gyroscope x/y/z in degrees per second, or null when the hardware has no gyroscope (every board before the V3 generation).
host monotonic clock at receipt (for sync/LSL).
per-sample gap-fill marker (length == sampleCount).
flat [sampleCount * channels.size], row-major, µV — or, in impedance mode, device-computed electrode impedance in kΩ (one value per sample; NOT a raw ADC count).