mantidimaging.gui.widgets.spectrum_widgets.export_data_table_widget module#

class mantidimaging.gui.widgets.spectrum_widgets.export_data_table_widget.ExportDataTableWidget(parent=None)[source]#

Bases: QWidget

A scalable table widget to display export-relevant data for each ROI. For integration with the fitting/export tab in the spectrum viewer.

clear_table() None[source]#

Remove all rows from the table.

set_parameters(parameter_names: list[str]) None[source]#

Set the column headers dynamically based on the given parameter names. Clears any existing data in the table.

update_roi_data(roi_name: str, params: dict[str, float], status: str = 'Ready') None[source]#

Add or update a row for the specified ROI, populating parameter values and status.