Sweeper.iterate_option_sweep#
- Sweeper.iterate_option_sweep(args: list, all_dicts: Dict, option_path: list, a_value: Dict, all_sweep: Dict) Tuple[Dict, int] [source]#
Iterate through the values that user gave in option_sweep.
- Parameters:
args (Dict) – Holds the three mandatory arguments in an expected sequence.
all_dicts (Dict) – User arguments manipulated to account for using previous_run.
option_path (list) – The list has traversed the option Dict.
a_value (Dict) – Has the value from the dictionary of the searched key.
all_sweep (Dict) – Will be populated during the iteration.
- Returns:
The dict key is each value of option_sweep, the value is the solution-data for each sweep. The int is the observation of searching for data from arguments as defined below.
0 Have list of capacitance matrix.
5 last key in option_name is not in Dict.
- Return type:
Tuple[Dict, int]