1 | print 'start\n' |
---|
2 | cur_ws='wsn'; |
---|
3 | md_ws='mdws4D'; |
---|
4 | MDWSF=''; |
---|
5 | print 'for\n' |
---|
6 | for n in range(15052,15179): |
---|
7 | print 'Load\n' |
---|
8 | # LoadNXSPE(Filename='D:/Data/Fe/Fe_Mantid/MAP'+str(n)+'.nxspe',OutputWorkspace=cur_ws) |
---|
9 | print 'SetUB\n' |
---|
10 | # SetUB(Workspace=cur_ws,a='2.87',b='2.87',c='2.87') |
---|
11 | # ConvertToMDEvents(InputWorkspace=cur_ws,OutputWorkspace=md_ws,QDimensions='Q3D',UsePreprocessedDetectors='1',MinValues='-4.2,-4.2,-4.2,-50',MaxValues='4.2,4.2,4.2,350',SplitInto='50',MaxRecursionDepth='1',MinRecursionDepth='1') |
---|
12 | # SaveMD(md_ws,'MDMAP'+str(n)+'.nxs'); |
---|
13 | # DeleteWorkspace(md_ws); |
---|
14 | # DeleteWorkspace(cur_ws); |
---|
15 | MDWSF=MDWSF+'MDMAP'+str(n)+'.nxs;'; |
---|
16 | |
---|
17 | # Correct syntaxis: MergeMDFiles(MDWSF,OutputFilename='fe400_8k.nxs',Parallel='1'); |
---|
18 | # Wrons syntaxis: |
---|
19 | MergeMDFiles(MDWSF,'ws2',OutputFilename='fe400_8k.nxs',Parallel='1',OutputFilename='fe400_8k.nxs'); |
---|