mantidimaging.gui.windows.stack_visualiser.presenter module

class mantidimaging.gui.windows.stack_visualiser.presenter.SVImageMode(value)[source]

Bases: IntEnum

An enumeration.

NORMAL = 0
SUMMED = 1
class mantidimaging.gui.windows.stack_visualiser.presenter.SVNotification(value)[source]

Bases: IntEnum

An enumeration.

DUPE_STACK = 4
DUPE_STACK_ROI = 5
REFRESH_IMAGE = 1
SWAP_AXES = 3
TOGGLE_IMAGE_MODE = 2
class mantidimaging.gui.windows.stack_visualiser.presenter.SVParameters(value)[source]

Bases: IntEnum

Stack Visualiser parameters that the Stack Visualiser presenter can retrieve

ROI = 0
class mantidimaging.gui.windows.stack_visualiser.presenter.StackVisualiserPresenter(view: StackVisualiserView, images: ImageStack)[source]

Bases: BasePresenter

add_mixed_dataset_to_model_and_update_view(images: ImageStack)[source]
add_sinograms_to_model_and_update_view(new_stack: ImageStack)[source]
create_swapped_axis_stack()[source]
delete_data()[source]
dupe_stack()[source]
dupe_stack_roi()[source]
find_image_from_angle(selected_angle: float) int[source]
get_num_images() int[source]
get_parameter_value(parameter: SVParameters)[source]

Gets a parameter from the stack visualiser for use elsewhere (e.g. operations). :param parameter: The parameter value to be retrieved

notify(signal)[source]
refresh_image()[source]
toggle_image_mode()[source]
view: StackVisualiserView