Commit bf5c1907 authored by Whitfield, Ross's avatar Whitfield, Ross
Browse files

Update save_multiple_powder.py

parent cb27fc4e
......@@ -14,3 +14,9 @@ for ws in grp:
for ws in grp:
SaveFocusedXYE(ws, SplitFiles=False, IncludeHeader=False,
Filename='{}-{}.xye'.format(ws.getRunNumber(), ws.getTitle()))
# Save by average log value
logName = "HB2C:SE:SampleTemp"
for ws in grp:
SaveFocusedXYE(ws, SplitFiles=False, IncludeHeader=False,
Filename='{}-{}.xye'.format(ws.getRunNumber(), ws.getRun().getLogData(logName).timeAverageValue()))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment