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)[source]¶
Adds a row to the manual COR table with a specified slice index.
- algorithmName: QComboBox¶
- property algorithm_name¶
- property alpha¶
- 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¶
- property filter_name¶
- get_auto_cor_method() AutoCorMethod [source]¶
- imageLayout: QVBoxLayout¶
- inputTab: QWidget¶
- lbhc_a0: QDoubleSpinBox¶
- lbhc_a1: QDoubleSpinBox¶
- lbhc_a2: QDoubleSpinBox¶
- lbhc_a3: QDoubleSpinBox¶
- lbhc_enabled: QCheckBox¶
- maxProjAngle: QDoubleSpinBox¶
- property max_proj_angle¶
- messageIcon: QLabel¶
- minimiseBtn: QPushButton¶
- numIter: QSpinBox¶
- property num_iter¶
- on_change_colour_palette()[source]¶
Opens the Palette Changer window when the “Auto” option has been clicked.
- on_table_row_count_change(_=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¶
- property pixel_size¶
- preview_image_on_button_press(event)[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_image_recon_preview()[source]¶
Resets the recon preview image, forcing a complete redraw next time it is updated.
- resultCor: QDoubleSpinBox¶
- resultSlope: QDoubleSpinBox¶
- resultTab: QWidget¶
- resultTilt: QDoubleSpinBox¶
- property rotation_centre¶
- set_results(cor: ScalarCoR, tilt: Degrees, slope: Slope)[source]¶
Sets the numerical COR and tilt angle results.
- show_status_message(msg: str)[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.
- property slope¶
- stackSelector: DatasetSelectorWidgetView¶
- statusMessageTextEdit: QTextEdit¶
- tableView: RemovableRowTableView¶
- property tilt¶
- update_projection(image_data, preview_slice_index: int, tilt_angle: Degrees | 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