ess.dream.io.xye.save_xye#
- ess.dream.io.xye.save_xye(filename, da)[source]#
Save reduced data to an XYE file.
This function can be used as
from ess.powder.types import OutFilename from ess.dream.io import save_xye workflow = ... workflow[OutFilename] = "..." workflow.bind_and_call(save_xye)
Note that this function is not suitable as a provider as it has side effects (writes a file).
- Parameters:
filename (
ess.powder.types.OutFilename(str)) – Path of a file to write to.da (
ess.powder.types.IntensityTof(scipp.DataArray)) – Reduced 1d data with a'tof'dimension and coordinate.
- Return type: