4040imDatPrb_type=1 (NP 1.0)
4141imDatPrb_type=21 (NP 2.0, single multiplexed shank)
4242imDatPrb_type=24 (NP 2.0, 4-shank)
43+ imDatPrb_type=1030 (NP 1.0-NHP 45mm SOI90 - NHP long 90um wide, staggered contacts)
44+ imDatPrb_type=1031 (NP 1.0-NHP 45mm SOI125 - NHP long 125um wide, staggered contacts)
45+ imDatPrb_type=1032 (NP 1.0-NHP 45mm SOI115 / 125 linear - NHP long 125um wide, linear contacts)
46+ imDatPrb_type=1022 (NP 1.0-NHP 25mm - NHP medium)
47+ imDatPrb_type=1015 (NP 1.0-NHP 10mm - NHP short)
4348
4449Author : Samuel Garcia
4550Some functions are copied from Graham Findlay
@@ -380,7 +385,7 @@ def extract_stream_info(meta_file, meta):
380385 # metad['imroTbl'] contain two gain per channel AP and LF
381386 # except for the last fake channel
382387 per_channel_gain = np .ones (num_chan , dtype = 'float64' )
383- if 'imDatPrb_type' not in meta or meta ['imDatPrb_type' ] == '0' :
388+ if 'imDatPrb_type' not in meta or meta ['imDatPrb_type' ] == '0' or meta [ 'imDatPrb_type' ] in ( '1015' , '1022' , '1030' , '1031' , '1032' ) :
384389 # This work with NP 1.0 case with different metadata versions
385390 # https://github.com/billkarsh/SpikeGLX/blob/gh-pages/Support/Metadata_3A.md#imec
386391 # https://github.com/billkarsh/SpikeGLX/blob/gh-pages/Support/Metadata_3B1.md#imec
@@ -404,7 +409,7 @@ def extract_stream_info(meta_file, meta):
404409 channel_gains = gain_factor * per_channel_gain * 1e6
405410 else :
406411 raise NotImplementedError ('This meta file version of spikeglx'
407- 'is not implemented' )
412+ ' is not implemented' )
408413 else :
409414 stream_kind = ''
410415 stream_name = device
0 commit comments