ess.reduce.nexus.json_generator.event_data_generator#
- ess.reduce.nexus.json_generator.event_data_generator(data)[source]#
Generate JSON data for event data from a NeXus file.
- Parameters:
data (
DataArray
) – A data array with event data, equivalent to what ScippNexus would load from an NXevent_data group in a NeXus file.- Yields:
A dict of data for a single event data pulse that can be wrapped in a
ess.reduce.nexus.json_nexus.JSONGroup
.- Return type: