original_docstring: 
          load and interact with spike rasters
          filename: the file that contains BMI feature-spike packet
          
docstring: load and interact with spike rasters
  filename: the file that contains BMI feature-spike packet
docstring_tokens: load and interact with spike rasters filename : the file that contains BMI feature - spike packet
code: def fromfile(self, filename='./fet.bin'):
          '''
          load and interact with spike rasters
          filename: the file that contains BMI feature-spike packet
          '''
          fet_packet = np.memmap(filename, dtype=np.int32).reshape(-1,7)
          spkid_packet = fet_packet[:, [0,-1]]
          spkid_packet = np.delete(spkid_packet, np.where(spkid_packet[:,1]==0), axis=0)
          self.set_data(spkid_packet)
          self.set_range()
code_tokens: def fromfile ( self , filename = './fet.bin' ) : fet_packet = np . memmap ( filename , dtype = np . int32 ) . reshape ( - 1 , 7 ) spkid_packet = fet_packet [ : , [ 0 , - 1 ] ] spkid_packet = np . delete ( spkid_packet , np . where ( spkid_packet [ : , 1 ] == 0 ) , axis = 0 ) self . set_data ( spkid_packet ) self . set_range ( )
short_docstring: load and interact with spike rasters
  filename: the file that contains BMI feature-spike packet
short_docstring_tokens: load and interact with spike rasters filename : the file that contains BMI feature - spike packet
comment: '''
          load and interact with spike rasters
          filename: the file that contains BMI feature-spike packet
          '''