Skip to content

Commit a234723

Browse files
committed
added imDatPrb_type=1031 support as per SpikeGLX source
1 parent 604c4f3 commit a234723

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

neo/rawio/spikeglxrawio.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
imDatPrb_type=1 (NP 1.0)
4141
imDatPrb_type=21 (NP 2.0, single multiplexed shank)
4242
imDatPrb_type=24 (NP 2.0, 4-shank)
43-
imDatPrb_type=1030, 1032 (NP 1.0-NHP 45mm - NHP long)
43+
imDatPrb_type=1030 (NP 1.0-NHP 45mm SOI90 - NHP long 90um wide)
44+
imDatPrb_type=1031 (NP 1.0-NHP 45mm SOI125 - NHP long 125um wide)
45+
imDatPrb_type=1032 (NP 1.0-NHP 45mm SOI115 / 125 linear - NHP long 125um wide)
4446
imDatPrb_type=1022 (NP 1.0-NHP 25mm - NHP medium)
4547
imDatPrb_type=1015 (NP 1.0-NHP 10mm - NHP short)
4648
@@ -383,7 +385,7 @@ def extract_stream_info(meta_file, meta):
383385
# metad['imroTbl'] contain two gain per channel AP and LF
384386
# except for the last fake channel
385387
per_channel_gain = np.ones(num_chan, dtype='float64')
386-
if 'imDatPrb_type' not in meta or meta['imDatPrb_type'] == '0' or meta['imDatPrb_type'] in ('1015', '1022', '1030', '1032'):
388+
if 'imDatPrb_type' not in meta or meta['imDatPrb_type'] == '0' or meta['imDatPrb_type'] in ('1015', '1022', '1030', '1031', '1032'):
387389
# This work with NP 1.0 case with different metadata versions
388390
# https://github.com/billkarsh/SpikeGLX/blob/gh-pages/Support/Metadata_3A.md#imec
389391
# https://github.com/billkarsh/SpikeGLX/blob/gh-pages/Support/Metadata_3B1.md#imec

0 commit comments

Comments
 (0)