mantidimaging.gui.windows.recon.view module#
- class mantidimaging.gui.windows.recon.view.ReconstructWindowView(main_window: MainWindowView)[source]#
Bases:
BaseMainWindowView
- addBtn: QPushButton#
- add_cor_table_row(row: int, slice_index: int, cor: float) None [source]#
Adds a row to the manual COR table with a specified slice index.
- algorithmName: QComboBox#
- alphaSpinBox: QDoubleSpinBox#
- calculateCors: QPushButton#
- changeColourPaletteButton: QPushButton#
- change_colour_palette_dialog: PaletteChangerView | None = None#
- clearAllBtn: QPushButton#
- corHelpButton: QPushButton#
- property cor_table_model: CorTiltPointQtModel#
- correlateBtn: QPushButton#
- filterName: QComboBox#
- get_auto_cor_method() AutoCorMethod [source]#
- get_stack(uuid) ImageStack | None [source]#
- imageLayout: QVBoxLayout#
- inputTab: QWidget#
- lbhc_a0: QDoubleSpinBox#
- lbhc_a1: QDoubleSpinBox#
- lbhc_a2: QDoubleSpinBox#
- lbhc_a3: QDoubleSpinBox#
- lbhc_enabled: QCheckBox#
- maxProjAngle: QDoubleSpinBox#
- messageIcon: QLabel#
- minimiseBtn: QPushButton#
- nonNegativeCheckBox: QCheckBox#
- numIter: QSpinBox#
- on_change_colour_palette() None [source]#
Opens the Palette Changer window when the “Auto” button has been clicked.
- on_table_row_count_change(_=None, __=None) None [source]#
Called when rows have been added or removed from the point table.
Used to conditionally enable UI controls that depend on a certain amount of entries in the table.
- pixelSize: QDoubleSpinBox#
- preview_image_on_button_press(event) None [source]#
Handles mouse button presses on the preview projection image.
Used to set the preview slice when a user clicks on a given part of the image.
- reconTab: QWidget#
- recon_params() ReconstructionParameters [source]#
- reconstructSlice: QPushButton#
- reconstructVolume: QPushButton#
- refineCorBtn: QPushButton#
- refineIterationsBtn: QPushButton#
- removeBtn: QPushButton#
- reset_recon_and_sino_previews() None [source]#
Resets the recon and sinogram preview images, forcing a complete redraw next time they are updated.
- resultCor: QDoubleSpinBox#
- resultSlope: QDoubleSpinBox#
- resultTab: QWidget#
- resultTilt: QDoubleSpinBox#
- set_results(cor: ScalarCoR, tilt: Degrees, slope: Slope) None [source]#
Sets the numerical COR and tilt angle results.
- show_recon_volume(data: ImageStack, stack_id: UUID) None [source]#
- show_status_message(msg: str) None [source]#
Shows a status message indicating that zero/negative/NaN pixels were found in the stack. If the msg argument is empty then this is taken to mean that no such pixels were found, so the warning message and icon are cleared. :param msg: The status message.
- stackSelector: DatasetSelectorWidgetView#
- statusMessageTextEdit: QTextEdit#
- stochasticCheckBox: QCheckBox#
- subsetsSpinBox: QSpinBox#
- tableView: RemovableRowTableView#
- update_projection(image_data, preview_slice_index: int, tilt_angle: Degrees | None) None [source]#
Updates the preview projection image and associated annotations.
Region of interest sets the bounds of the image axes, it does not resize the data itself. The advantage of this is that the coordinates do not change.
- Parameters:
image_data – Projection image data (single/2D image)
preview_slice_index – Y coordinate at which to draw the preview slice indicator
tilt_angle – Angle of the tilt line