savu.core.iterative_plugin_runner moduleΒΆ

class IteratePluginGroup(plugin_runner, start_index, end_index, iterations)[source]

Class for iterating a set/group of plugins in a process list

add_plugin_to_iterate_group(plugin)[source]

Append plugin dict to list fo plguins that are part of the group to iterate over

create_clone(clone, data)[source]
get_original_datasets()[source]

Helper function to get the in and out datasets more easily.

get_plugin_datasets()[source]

Helper function to get the in and out plugin datasets more easily.

increment_ip_iteration()[source]
set_alternating_datasets()[source]
set_alternating_plugin_datasets()[source]

Setup the PluginData objects for the original and cloned Data objects

set_end_plugin(plugin)[source]

Set the plugin that is at the end of the group to iterate over

set_iteration_datasets(itr, in_data, out_data)[source]
set_plugin_datasets()[source]

Set the PluginData objects for the original and cloned Data objects, based on the current iteration.

set_start_plugin(plugin)[source]

Set the plugin that is at the start of the group to iterate over

setup_datasets()[source]

Setup the cloned datasets in the start and end plugins in the group to iterate over