Skip to content

Commit bd78348

Browse files
committed
signal is already time-sliced
1 parent 5ab17d1 commit bd78348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/biocamrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _get_analogsignal_chunk(self, block_index, seg_index, i_start, i_stop, strea
140140
# iterate through channels to prevent loading all channels into memory which can cause
141141
# memory exhaustion. See https://github.com/SpikeInterface/spikeinterface/issues/3303
142142
for index, channel_index in enumerate(channel_indexes):
143-
sig_chunk[:, index] = data[i_start+channel_index:i_stop+channel_index:self._num_channels]
143+
sig_chunk[:, index] = data[channel_index::self._num_channels]
144144

145145
return sig_chunk
146146

0 commit comments

Comments
 (0)