コード例 #1
0
ファイル: spg-plot.py プロジェクト: pmavrodiev/PySPG
    def __init__(self):
        BaseDBCommandParser.__init__(self, EnsembleConstructor = ResultsDBQuery)
        self.prompt = "| spg-results :::~ "
        
        self.possible_keys = set( [ "table_depth", "expand_dirs", "raw_data", "split_colums", "restrict_by_val", "prefix", "n_rows", "plot_x_label", "plot_y_label", "plot_x_scale", "plot_y_scale", "plot_x_min", "plot_x_max", "plot_y_min", "plot_y_max", "split_columns"] )
        self.output_column = []
        self.table_depth = 1
        self.n_rows = 3
        self.expand_dirs = True 
        self.raw_data = False
        self.split_columns = False
        self.restrict_by_val = False # was True
        self.prefix = "output_"

        self.plot_x_label = ""
        self.plot_y_label = ""
        self.plot_x_scale = "linear"
        self.plot_y_scale = "linear"
        self.plot_x_min = None
        self.plot_x_max = None
        self.plot_y_min = None
        self.plot_y_max = None

        self.autoscale = None

        self.figures = {}
コード例 #2
0
ファイル: spg-results.py プロジェクト: pmavrodiev/PySPG
    def __init__(self):
        BaseDBCommandParser.__init__(self, EnsembleConstructor = ResultsDBQuery)
        self.prompt = "| spg-results :::~ "
        
        self.possible_keys = set( [ "raw_data", "split_colums", "restrict_by_val", "prefix", "split_columns"] )
        self.output_column = []
        self.raw_data = False
        self.split_columns = False
        self.restrict_by_val = False # was True
        self.prefix = "output_"

        self.autoscale = None

        self.figures = {}
コード例 #3
0
ファイル: spg-results.py プロジェクト: pmavrodiev/PySPG
 def do_load(self,c):
     """loads a results_database"""
     BaseDBCommandParser.do_load(self, c)
     self.output_column = self.current_param_db.output_column[:]
     
     os.chdir( self.current_param_db.path )
コード例 #4
0
ファイル: spg-db.py プロジェクト: rpfitzner/PySPG
 def __init__(self):
     BaseDBCommandParser.__init__(self)
     self.prompt = "| spg-db :::~ "
     self.possible_keys = ['weight', 'repeat',  'status', 'queue']