You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for VECTORIZED orientation in BrainVisionRawIO
Fixes KAN-43: https://eeglab.atlassian.net/browse/KAN-43
Previously, BrainVisionRawIO only supported MULTIPLEXED data orientation
(interleaved channels), causing a NeoReadWriteError when attempting to
read files with VECTORIZED orientation (sequential channel data).
Changes:
- Modified data orientation check to accept both MULTIPLEXED and VECTORIZED
- Added custom _get_analogsignal_chunk() method to handle VECTORIZED reading
- For VECTORIZED files, reads each channel's data from its sequential
location in the binary file
- Maintains backward compatibility with MULTIPLEXED files (uses parent
class implementation)
Testing:
- Validated against MNE-Python on real-world VECTORIZED dataset (ds004621)
with 127 channels × 740,360 samples - results match exactly (correlation=1.0)
- Tested both MULTIPLEXED and VECTORIZED orientations with synthetic data
- All existing functionality preserved for MULTIPLEXED files
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments