mantidimaging.core.operations.append_stacks.append_stacks module#
- class mantidimaging.core.operations.append_stacks.append_stacks.AppendStacks[source]#
Bases:
BaseFilterAppend Stacks
- TYPES = ['Tomography', 'Time of Flight (ToF)']#
- allow_for_180_projection = False#
- static execute_wrapper(type_widget: QComboBox, stack_to_append_widget: DatasetSelectorWidgetView)[source]#
Should construct a partial call to _filter_func using values taken from the widgets passed to this function as kwargs. :param kwargs: widgets which contain values required for _filter_func. :return: a partial call to _filter_func using parameters taken from the input widgets.
- static filter_func(images: ImageStack, append_type: str | None = None, stack_to_append: ImageStack | None = None, progress=None) ImageStack[source]#
- filter_name = 'Append Stacks'#
- link_histograms = True#
- static register_gui(form, on_change, view) dict[str, Any][source]#
Adds any required input widgets to the given form and returns references to them.
The return values should be in a dict which can be unpacked as kwargs for a call to the operations execute_wrapper.
- Parameters:
view
form – the layout to create input widgets in
on_change – the filter view action to be bound to all created inputs
- Returns:
the widgets bound as kwargs which are needed to call execute_wrapper