biosigIO 1.1.6
biosigIO 1.1.6
First release since v1.1.3 (1.1.4 and 1.1.5 were internal version bumps, folded in here).
MEG import: CTF and KIT, alongside FIF
- CTF/VSM
.dsdirectories now import viaread_raw_ctf. - KIT/Yokogawa/RICOH
.con/.sqd/.kdfnow import viaread_raw_kit. Recording.from_filedispatches all three (plus.fif) to the MEG importer.
Mixed-rate EDF/BDF (#737)
EDFImporter/Recording.from_filenow error by default when an EDF/BDF
mixes sampling rates across channels (e.g. PSG: EEG at 200 Hz + SpO2 at
12.5 Hz), instead of failing obscurely.- Opt in with
mixed_rate="resample"to upsample slower channels onto the
fastest channel's grid for a plotting/ML serving copy. Uses
resample_poly(padtype="line")to avoid edge ringing; the original per-channel
rate is recorded in metadata.
Streaming Zarr export
- New
stream_to_zarrconverts arbitrarily large recordings in bounded
memory: lazy MNE read → channel-major float32 memmap → per-channel
resample/quantize/write. Output is byte-equivalent to the in-memory exporter,
so multi-GB recordings convert without changing the result.
Tests and fixtures
- Real vendored fixtures: KIT
.sqdand CTF.ds(catch-alp-good-f,
244 ch incl. simultaneous EEG, 1250 Hz). - Regression tests for FIF + multi-file split-FIF chains, CTF streaming, and the
mixed-rate EDF paths. No mocks.
Fixes
- Preserve importer-loaded events when an
events.tsvis unparsable (noonset
column / missing forced column) instead of wiping them. - Log non-benign MEG
find_eventsfailures rather than swallowing them.