Commit 041a84a3 authored by Whitfield, Ross's avatar Whitfield, Ross
Browse files

Update save_multiple_powder.py

parent fd5f16a2
grp = mtd['group_name']
# Save by run number
for ws in grp:
SaveFocusedXYE(ws, SplitFiles=False, IncludeHeader=False,
Filename='{}.xye'.format(ws.getTitle()))
# Save by title
for ws in grp:
SaveFocusedXYE(ws, SplitFiles=False, IncludeHeader=False,
Filename='{}.xye'.format(ws.getRunNumber()))
# Save by run number and title
for ws in grp:
SaveFocusedXYE(ws, SplitFiles=False, IncludeHeader=False,
Filename='{}-{}.xye'.format(ws.getRunNumber(), ws.getTitle()))
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