mantidimaging.gui.windows.nexus_load_dialog.presenter module#

class mantidimaging.gui.windows.nexus_load_dialog.presenter.ImageKeys(value)[source]#

Bases: Enum

An enumeration.

DarkField = 2#
FlatField = 1#
Projections = 0#
class mantidimaging.gui.windows.nexus_load_dialog.presenter.NexusLoadPresenter(view: NexusLoadDialog)[source]#

Bases: object

get_dataset() tuple[StrictDataset, str][source]#

Create a LoadingDataset and title using the arrays that have been retrieved from the NeXus file. :return: A tuple containing the Dataset and the data title string.

notify(n: Notification)[source]#
scan_nexus_file()[source]#

Try to open the NeXus file and display its contents on the view.

view: NexusLoadDialog#
class mantidimaging.gui.windows.nexus_load_dialog.presenter.Notification(value)[source]#

Bases: Enum

An enumeration.

NEXUS_FILE_SELECTED = 1#