mantidimaging.gui.dialogs.cor_inspection.presenter module#

class mantidimaging.gui.dialogs.cor_inspection.presenter.CORInspectionDialogPresenter(view, images: ImageStack, slice_index: int, initial_cor: ScalarCoR, recon_params: ReconstructionParameters, iters_mode: bool)[source]#

Bases: BasePresenter

do_refresh(images=None)[source]#
do_update_ui_parameters()[source]#
notify(signal)[source]#
on_load()[source]#
on_select_image(img)[source]#
property optimal_iterations#
property optimal_rotation_centre: ScalarCoR#
progress_updated#

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

view: CORInspectionDialogView#
class mantidimaging.gui.dialogs.cor_inspection.presenter.Notification(value)[source]#

Bases: Enum

An enumeration.

FULL_UPDATE = 4#
IMAGE_CLICKED_CURRENT = 2#
IMAGE_CLICKED_LESS = 1#
IMAGE_CLICKED_MORE = 3#
LOADED = 6#
UPDATE_PARAMETERS_FROM_UI = 5#