Store all inputs in a single data group.
This function is intended to be used to reduce a workflow which
was mapped over detectors.
- Parameters:
detectors (DataArray) – Data arrays for each detector bank.
All arrays must have a scalar “detector” coord containing a str.
- Returns:
DataGroup – The inputs as a data group with the “detector” coord as the key.