ess.reflectometry.tools.BatchProcessor#
- class ess.reflectometry.tools.BatchProcessor(workflows)[source]#
A collection of sciline workflows that can be used to compute multiple targets from multiple workflows. It can also be used to set parameters for all workflows in a single shot.
Methods
__init__
(workflows)compute
(targets, **kwargs)Compute the given target(s) for all workflows in the collection.
copy
()Create a copy of the workflow collection.
visualize
(targets, **kwargs)Visualize all workflows in the collection.
- __getitem__(name)[source]#
Get a new BatchProcessor where the workflows are the sub-workflows that lead to the node with the given name.
- Return type:
- compute(targets, **kwargs)[source]#
Compute the given target(s) for all workflows in the collection.