ess.reduce.nexus.workflow.load_nexus_data#

ess.reduce.nexus.workflow.load_nexus_data(location)[source]#

Load event or histogram data from a NeXus detector group.

Parameters:

location (NeXusDataLocationSpec[TypeVar(Component, NXdetector, NXsample, NXsource, NXdisk_chopper, NXcrystal, nexus.types.Monitor1 (int), nexus.types.Monitor2 (int), nexus.types.Monitor3 (int), nexus.types.Monitor4 (int), nexus.types.Monitor5 (int), nexus.types.IncidentMonitor (int), nexus.types.TransmissionMonitor (int)), TypeVar(RunType, nexus.types.BackgroundRun (int), nexus.types.EmptyBeamRun (int), nexus.types.SampleRun (int), TransmissionRun[nexus.types.SampleRun (int)], TransmissionRun[nexus.types.BackgroundRun (int)], nexus.types.VanadiumRun (int))]) – Location spec for the detector group.

Return type:

NeXusData[TypeVar(Component, NXdetector, NXsample, NXsource, NXdisk_chopper, NXcrystal, nexus.types.Monitor1 (int), nexus.types.Monitor2 (int), nexus.types.Monitor3 (int), nexus.types.Monitor4 (int), nexus.types.Monitor5 (int), nexus.types.IncidentMonitor (int), nexus.types.TransmissionMonitor (int)), TypeVar(RunType, nexus.types.BackgroundRun (int), nexus.types.EmptyBeamRun (int), nexus.types.SampleRun (int), TransmissionRun[nexus.types.SampleRun (int)], TransmissionRun[nexus.types.BackgroundRun (int)], nexus.types.VanadiumRun (int))]