runmanager.expand_globals

runmanager.expand_globals(sequence_globals, evaled_globals, expansion_config=None, return_dimensions=False)[source]

Expands iterable globals according to their expansion settings. Creates a number of ‘axes’ which are to be outer product’ed together. Some of these axes have only one element, these are globals that do not vary. Some have a set of globals being zipped together, iterating in lock-step. Others contain a single global varying across its values (the globals set to ‘outer’ expansion). Returns a list of shots, each element of which is a dictionary for that shot’s globals.