Commit 7bf5208
committed
Fix shape convention to be consistent with HDF5 pattern
When time_axis=1, shape should be (channels, time) not (time, channels).
This makes raw binary handling consistent with HDF5:
- time_axis=0: shape is (time, channels) - MULTIPLEXED
- time_axis=1: shape is (channels, time) - VECTORIZED
Changes:
- BrainVisionRawIO: Set shape as (channels, time) when VECTORIZED
- BaseRawIO: Use shape[time_axis] consistently for i_stop default
- Removed duplicate time_axis retrieval
All tests pass with identical MNE-Python validation.1 parent d214b4a commit 7bf5208
2 files changed
+21
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1577 | 1577 | | |
1578 | 1578 | | |
1579 | 1579 | | |
1580 | | - | |
1581 | | - | |
1582 | | - | |
1583 | | - | |
1584 | | - | |
1585 | | - | |
1586 | | - | |
1587 | | - | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
1588 | 1585 | | |
1589 | 1586 | | |
1590 | 1587 | | |
| |||
1603 | 1600 | | |
1604 | 1601 | | |
1605 | 1602 | | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
1606 | 1606 | | |
1607 | | - | |
| 1607 | + | |
1608 | 1608 | | |
1609 | 1609 | | |
1610 | 1610 | | |
1611 | | - | |
1612 | | - | |
1613 | 1611 | | |
1614 | 1612 | | |
1615 | 1613 | | |
| |||
1637 | 1635 | | |
1638 | 1636 | | |
1639 | 1637 | | |
1640 | | - | |
| 1638 | + | |
1641 | 1639 | | |
1642 | 1640 | | |
1643 | | - | |
| 1641 | + | |
1644 | 1642 | | |
1645 | | - | |
| 1643 | + | |
1646 | 1644 | | |
1647 | 1645 | | |
1648 | 1646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
99 | 106 | | |
100 | 107 | | |
101 | 108 | | |
| |||
0 commit comments