mantidimaging.gui.windows.recon.image_view module#

class mantidimaging.gui.windows.recon.image_view.ReconImagesView(parent)[source]#

Bases: GraphicsLayoutWidget

cleanup() None[source]#
clear_projection() None[source]#
clear_recon() None[source]#
clear_recon_line_profile() None[source]#
clear_sinogram() None[source]#
hide_cor_line() None[source]#

Hides the tilt line. This stops infinite zooming out loop that messes up the image view (the line likes to be unbound when the degree isn’t a multiple o 90 - and the tilt never is) :return:

mouse_click(ev, line: InfiniteLine) None[source]#
reset_recon_histogram() None[source]#
reset_slice_and_tilt(slice_index) None[source]#
set_selected_cor_row(row: int) None[source]#
show_cor_line(tilt: Degrees, pos: float) None[source]#
sigCorPointClicked#

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.

sigSliceIndexChanged#

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.

slice_changed(slice_index) None[source]#
slice_line_moved() None[source]#
update_cor_table_points(slice_indices: list[int], cors: list[float], tilt: float = 0.0) None[source]#

Updates the CoR scatter points on the projection preview and the tilt line if there is a tilt

Parameters:
  • slice_indices – list of slice indices for the CoR points

  • cors – list of CoR values for the CoR points

  • tilt – tilt value for the tilt line, if there is a tilt

update_projection(image_data: ndarray, preview_slice_index: int) None[source]#
update_recon(image_data, reset_roi: bool = False) None[source]#
update_recon_hist() None[source]#
update_sinogram(image) None[source]#