File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 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, 1032 (NP 1.0-NHP 45mm)
4344
4445Author : Samuel Garcia
4546Some functions are copied from Graham Findlay
@@ -380,7 +381,7 @@ def extract_stream_info(meta_file, meta):
380381 # metad['imroTbl'] contain two gain per channel AP and LF
381382 # except for the last fake channel
382383 per_channel_gain = np .ones (num_chan , dtype = 'float64' )
383- if 'imDatPrb_type' not in meta or meta ['imDatPrb_type' ] == '0' :
384+ if 'imDatPrb_type' not in meta or meta ['imDatPrb_type' ] == '0' or meta [ 'imDatPrb_type' ] in ( '1030' , '1032' ) :
384385 # This work with NP 1.0 case with different metadata versions
385386 # https://github.com/billkarsh/SpikeGLX/blob/gh-pages/Support/Metadata_3A.md#imec
386387 # https://github.com/billkarsh/SpikeGLX/blob/gh-pages/Support/Metadata_3B1.md#imec
@@ -404,7 +405,7 @@ def extract_stream_info(meta_file, meta):
404405 channel_gains = gain_factor * per_channel_gain * 1e6
405406 else :
406407 raise NotImplementedError ('This meta file version of spikeglx'
407- 'is not implemented' )
408+ ' is not implemented' )
408409 else :
409410 stream_kind = ''
410411 stream_name = device
You can’t perform that action at this time.
0 commit comments