parameter_sweep.parallel_utils

Module Contents

Functions

do_build(param_sweep_instance)

Used to pass into the parallel manager to build the parameters necessary

do_execute(local_combo_array, param_sweep_instance, ...)

Used to pass into the parallel manager in order to execute the sweep

return_none(model[, outputkeys])

Used so that build_outputs=None is a valid usage of the parameter sweep tool

parameter_sweep.parallel_utils.do_build(param_sweep_instance)

Used to pass into the parallel manager to build the parameters necessary for the sweep function. Defined at the top level so it’s picklable.

parameter_sweep.parallel_utils.do_execute(local_combo_array, param_sweep_instance, model, sweep_params, outputs)

Used to pass into the parallel manager in order to execute the sweep for a set of local values. Defined at the top level so it’s picklable.

parameter_sweep.parallel_utils.return_none(model, outputkeys=None)

Used so that build_outputs=None is a valid usage of the parameter sweep tool without requiring the user to wrap it in a function.