コード例 #1
0
 def test_with_multichannel(self):
     filename0 = self.get_filename_path(self.files_to_download[0])
     reader = NeuroshareIO(filename0, self.dllname)
     blocks = reader.read()
     n = len(blocks[0].segments[0].analogsignals)
     assert n == 2, \
         'For {} , nb AnalogSignal: {} (should be 2)'.format(self.files_to_download[0], n)
コード例 #2
0
ファイル: test_neuroshareio.py プロジェクト: ctw/python-neo
 def test_with_multichannel(self):
     filename0 = self.get_filename_path(self.files_to_download[0])
     reader = NeuroshareIO(filename = filename0, dllname = self.dllname)
     blocks = reader.read()
     n = len(blocks[0].segments[0].analogsignals)
     assert n == 2, \
                 'For {} , nb AnalogSignal: {} (should be 2)'.format(self.files_to_download[0], n)