mantidimaging.gui.widgets.spectrum_widgets.fitting_display_widget module#
- class mantidimaging.gui.widgets.spectrum_widgets.fitting_display_widget.FittingDisplayWidget(parent: QWidget | None = None)[source]#
Bases:
QWidget
Widget for displaying fitting-related spectrum plot using the reusable SpectrumPlotWidget.
- set_default_region(x_data: ndarray, y_data: ndarray) None [source]#
Position the ROI centrally over the plotted data.
- set_selected_fit_region(region: tuple[float, float]) None [source]#
Set the horizontal (X-axis) range of the ROI.
- show_roi_on_thumbnail_from_widget(roi_widget: SpectrumROI) None [source]#
Copy ROI size and color from the main image window ROI to the thumbnail overlay.