예제 #1
0
파일: supervisor.py 프로젝트: zsong30/phy
 def _get_clusters(self, which):
     cluster_ids, next_cluster, similar, next_similar = self.last_state()
     if which == 'all':
         return _uniq(cluster_ids + similar)
     elif which == 'best':
         return cluster_ids
     elif which == 'similar':
         return similar
     return which
예제 #2
0
파일: supervisor.py 프로젝트: zsong30/phy
 def selected(self):
     """Selected clusters in the cluster and similarity views."""
     return _uniq(self.selected_clusters + self.selected_similar)