コード例 #1
0
ファイル: db.py プロジェクト: AndreaCensi/saccade_analysis
 def list_configurations(self, group):
     """ Lists the configurations for the given group. """
     return natsorted(list(self.groups[group].configurations.keys()))
コード例 #2
0
ファイル: db.py プロジェクト: AndreaCensi/saccade_analysis
 def list_all_configurations(self):
     """ Lists all the configurations present in the data. """
     return natsorted(self.configurations)
コード例 #3
0
ファイル: db.py プロジェクト: AndreaCensi/saccade_analysis
 def list_all_samples(self):
     """ Returns a list of all samples for all groups. """
     return natsorted(list(self.sample2group.keys()))
コード例 #4
0
ファイル: db.py プロジェクト: AndreaCensi/saccade_analysis
 def list_samples(self, group):
     """ Lists the samples in the given group. """
     return natsorted(list(self.groups[group].samples))
コード例 #5
0
ファイル: db.py プロジェクト: AndreaCensi/saccade_analysis
 def list_groups(self):
     """ Returns a list of the groups. """
     return natsorted(list(self.groups.keys()))