mantidimaging.gui.windows.nexus_load_dialog.presenter module#

class mantidimaging.gui.windows.nexus_load_dialog.presenter.ImageKeys(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: Enum

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, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: Enum

NEXUS_FILE_SELECTED = 1#