Parametric Configurations#

class ORBIT.ParametricManager(base, params, funcs, weather=None, module=None, product=False, keep_inputs=None)[source]#

Class for configuring parametric ORBIT runs.

run(**kwargs)[source]#

Run the configured parametric runs and save any requested results to self.results.

_run_config(run, **kwargs)[source]#

Run an individual config.

_get_kept_inputs(config)[source]#

Extract inputs in self.keep from config.

Parameters:

config (dict)

property run_list#

Returns list of configured parametric runs.

property num_runs#

Calculates the number of runs completed.

static map_funcs(obj, funcs)[source]#

Map obj to list of funcs.

Parameters:
  • obj (ProjectManager) -- Project instance to run through functions.

  • funcs (list) -- Functions used to pull results from obj.

preview(num=10, **kwargs)[source]#

Runs a limited set of runs to preview the results and provide an estimate for total run time.

Parameters:

num (int) -- Number to run.

create_model(x, y)[source]#

Creates a LinearModel for the inputs and results.

classmethod from_config(data)[source]#

Creates a ParametricManager isntance from a configuration dictionary, data.