Skip to content

Commit 3079f74

Browse files
committed
fix the get_signal_size
1 parent ca93249 commit 3079f74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/neuronexusrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ def _parse_header(self):
237237

238238
def _get_signal_size(self, block_index, seg_index, stream_index):
239239

240-
# All streams have the same size so just return the raw_data size
241-
return self._raw_data.size
240+
# All streams have the same size so just return the raw_data (num_samples, num_chans)
241+
return self._raw_data.shape[0]
242242

243243
def _get_analogsignal_chunk(self, block_index, seg_index, i_start, i_stop, stream_index, channel_indexes):
244244

0 commit comments

Comments
 (0)