Handoff validation and event coordinates
Load verified data and aligned events without silent repair.
Validation contract
The manifest and versioned signal contract specify relative paths, channel IDs/order, labels, sample count/rate/origin and units. SHA-256 checksums bind the files. A checksum verifies bytes, not scientific correctness.
Loaders reject missing/extra channels, wrong row count, duplicate or shifted times, off-grid samples, nonfinite values, inconsistent units and unsafe paths. They do not sort malformed input into compliance, truncate it, or fill it with NaN.
Events
Included annotations and notes retain recording-relative original timing and are translated to window-relative time. Duration events crossing the window are clipped to the actual sample interval; point events at the exclusive tail boundary are excluded.
MNE Annotations use seconds relative to the exported signal; EEGLAB event latency is a one-based sample coordinate, with duration in samples. Preserve the sidecar when sharing so original onset and clipping remain auditable. Native downstream formats can round event times: the verified MNE FIF round-trip rounded some 128 Hz event times by up to 0.5 microseconds. The loader keeps exact source event coordinates in the sidecar and description; EEGLAB retains the sidecar in EEG.etc.eegtracelab.event_sidecar.