ess.reduce.diagnostics.load_nexus.load_monitors#
- ess.reduce.diagnostics.load_nexus.load_monitors(filename, *, monitors=None)[source]#
Load monitor data from a NeXus file. We attempt to use the GenericNeXusWorkflow first and fall back to raw Scippnexus code if necessary. By default, an attempt at loading each monitor as a DataArray is made. If this fails (because signal shapes are incompatible or some fields are missing), the loader will fall back to loading the monitor as a DataGroup.