Skip to content

Commit 18cd70d

Browse files
committed
swith to neuronexus terminology
1 parent 580a40b commit 18cd70d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

neo/rawio/neuronexusrawio.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,11 @@ def _parse_header(self):
182182
# 'a.u.' makes the units clearer
183183
elif channel_info["chan_type"][channel_index][:2] == "di":
184184
units = "a.u."
185-
stream_id = "di"
185+
stream_id = "din"
186186
elif channel_info["chan_type"][channel_index][:2] == "do":
187187
# aux channel
188188
units = "a.u."
189-
stream_id = "do"
189+
stream_id = "dout"
190190
else:
191191
units = "V"
192192
stream_id = "aux"
@@ -302,7 +302,7 @@ def _get_analogsignal_buffer_description(self, block_index, seg_index, buffer_id
302302
# here we map the stream_id to the more descriptive stream_name
303303
stream_id_to_stream_name = {
304304
"ai-pri": "NeuroNexus Allego Analog (pri) Data",
305-
"di": "NeuroNexus Allego Digital-in (din) Data",
306-
"do": "NeuroNexus Allego Digital-out (dout) Data",
305+
"din": "NeuroNexus Allego Digital-in (din) Data",
306+
"dout": "NeuroNexus Allego Digital-out (dout) Data",
307307
"aux": "NeuroNexus Allego Auxiliary (aux) Data",
308308
}

0 commit comments

Comments
 (0)