Skip to content

Commit 05803c4

Browse files
committed
Use 5120 as the bound of NEV 2.2 spike packet ids
1 parent 7e47c76 commit 05803c4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎neo/rawio/blackrockrawio.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2760,8 +2760,9 @@ def _is_set(self, flag, pos):
27602760
# Packet IDs in this range identify spike events on electrodes. Wider than 2.1's range:
27612761
# Ripple Trellis writes 2.2 files with electrode IDs above 255 (its front-end ports are
27622762
# numbered 1-128, 129-256, 257-384...), and every spike on them was dropped without a
2763-
# warning (NeuralEnsemble/python-neo#1918). 2048 is the range of 2.3.
2764-
"Spikes": (1, 2048),
2763+
# warning (NeuralEnsemble/python-neo#1918). The bound is 5120 because Trellis writes
2764+
# stimulation packets on 5120 plus the electrode ID.
2765+
"Spikes": (1, 5120),
27652766
},
27662767
"2.3": {
27672768
"NonNeural": 0,

0 commit comments

Comments
 (0)