mantidimaging.gui.windows.spectrum_viewer.presenter module

class mantidimaging.gui.windows.spectrum_viewer.presenter.SpectrumViewerWindowPresenter(view: SpectrumViewerWindowView, main_window: MainWindowView)[source]

Bases: BasePresenter

auto_find_flat_stack(new_dataset_id)[source]
current_norm_stack_uuid: UUID | None = None
current_stack_uuid: UUID | None = None
get_dataset_id_for_stack(stack_id: UUID | None) UUID | None[source]
handle_enable_normalised(enabled: bool) None[source]
handle_export_csv() None[source]
handle_normalise_stack_change(normalise_uuid: UUID | None) None[source]
handle_range_slide_moved(tof_range) None[source]
handle_roi_moved() None[source]
handle_sample_change(uuid: UUID | None) None[source]
model: SpectrumViewerWindowModel
show_new_sample() None[source]
spectrum_mode: SpecType = 1
view: SpectrumViewerWindowView