1 | import os |
---|
2 | |
---|
3 | Load(Filename='TSC11453.raw', OutputWorkspace='TSC11453', LoaderName='LoadRaw', LoaderVersion=3, LoadLogFiles=False) |
---|
4 | |
---|
5 | ChopData(InputWorkspace='TSC11453', OutputWorkspace='TSC11453', IntegrationRangeLower=5000, IntegrationRangeUpper=10000, MonitorWorkspaceIndex=140) |
---|
6 | MergeRuns(InputWorkspaces='TSC11453_1,TSC11453_2,TSC11453_3,TSC11453_4', OutputWorkspace='TSC11453_merged') |
---|
7 | |
---|
8 | SaveNexusProcessed(InputWorkspace='TSC11453_merged', Filename='TSC11453-SNP.nxs') |
---|
9 | SaveNexus(InputWorkspace='TSC11453_merged', Filename='TSC11453-SN.nxs') |
---|
10 | DeleteWorkspace('TSC11453') |
---|
11 | |
---|
12 | assert os.path.isfile('/home/chs18285/workspace/TSC11453-SN.nxs') |
---|
13 | assert os.path.isfile('/home/chs18285/workspace/TSC11453-SNP.nxs') |
---|
14 | |
---|