示例#1
0
文件: view.py 项目: smdabdoub/find
 def DisplayName(self):
     """
     Retrieve the display name for the data backing this subplot.
     
     @rtype: string
     @return: A string representing the name of the file for the 
         data backing this subplot.
     """
     return DataStore.getData()[self.dataIndex].displayname
示例#2
0
文件: view.py 项目: smdabdoub/find
 def getClustering(self):
     """
     Retrieve the clustering specified for this subplot.
     
     @rtype: list
     @return: A list where each element indicates the cluster membership of the 
         corresponding index in the original data
     """
     return DataStore.getData()[self.dataIndex].clustering[self.clustIndex]
示例#3
0
文件: view.py 项目: smdabdoub/find
 def Labels(self):
     """
     Retrieve the column labels for the data backing this subplot.
     
     @rtype: list
     @return: A list of strings representing the column names for the 
         data backing this subplot.
     """
     return DataStore.getData()[self.dataIndex].labels
示例#4
0
文件: view.py 项目: smdabdoub/find
 def getData(self):
     """
     Retrieve the data backing this subplot.
     
     @rtype: numpy array
     @return: An array containing the original data backing this subplot.
     """
     data = DataStore.getData()
     facs = data[self.dataIndex]
     return facs.data