def __unitsNumChanged(self):
if hasattr(self,"auto_result"):
if self.autoSortThisCheck.isChecked():
self.saveChannelCheck.setChecked(False)
self.chnResultPool.pop(self.selectChan,None)
self.units = self.auto_result.copy()
self.units[self.units>int(self.unitsNumWgt.currentText())] = 0
self.__draw_pk3()
self.__update_pk3_roi()
self.__draw_pk2()
if self.pca_3d is True:
self.__draw_3D_PCA()
# The SpikeSorting class use this class to draw multiple lines quickly in a memory-efficient way.
评论列表
文章目录