1 | Load('CNCS_7860_event.nxs',OutputWorkspace='CNCS_7860_event') |
---|
2 | SetUB(Workspace='CNCS_7860_event',a='10.416499999999999',b='10.416499999999999',c='10.416499999999999',v='0,0,1') |
---|
3 | ConvertUnits(InputWorkspace='CNCS_7860_event',OutputWorkspace='CNCS_7860_event',Target='DeltaE',EMode='Direct',EFixed='3') |
---|
4 | Rebin(InputWorkspace='CNCS_7860_event',OutputWorkspace='CNCS_7860_event',Params='-3,0.1,3') |
---|
5 | CloneWorkspace(InputWorkspace='CNCS_7860_event',OutputWorkspace='preMDpart0') |
---|
6 | AddSampleLog(Workspace='preMDpart0',LogName='Psi',LogText='0',LogType='Number Series') |
---|
7 | SetGoniometer(Workspace='preMDpart0',Axis0='Psi,0,1,0,1') |
---|
8 | ConvertToMDEvents(InputWorkspace='preMDpart0',OutputWorkspace='preMDpart0_md',QDimensions='QhQkQl',MinValues='-1,-1,-1,-1',MaxValues='1,1,1,1',MaxRecursionDepth='1') |
---|
9 | #The following works, but these dimension ids do not appear in mantid doc! |
---|
10 | SliceMD(InputWorkspace='preMDpart0_md',AlignedDimX='Q1, -1, 1, 10',AlignedDimY='Q2, -1, 1, 10',AlignedDimZ='Q3, -1, 1, 10',AlignedDimT='DeltaE,-1,1,1',OutputWorkspace='t') |
---|