Skip to content

Commit

Permalink
Merge pull request #1576 from zm711/neuronexus-patch
Browse files Browse the repository at this point in the history
NeuroNexusRawIO: fix the get_signal_size
  • Loading branch information
alejoe91 authored Sep 30, 2024
2 parents 2ec3b63 + 3079f74 commit da0f09c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neo/rawio/neuronexusrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ def _parse_header(self):

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

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

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

Expand Down

0 comments on commit da0f09c

Please sign in to comment.