Ticket #8019: verify8019.py

File verify8019.py, 3.9 KB (added by Wenduo Zhou, 7 years ago)
Line 
1######################################################################
2#Python Script Generated by GeneratePythonScript Algorithm
3######################################################################
4Load(Filename=r'/SNS/NOM/IPTS-9317/0/18251/NeXus/NOM_18251_event.nxs',OutputWorkspace='NOM_18251_1',ChunkNumber='1',TotalChunks='1')
5FilterBadPulses(InputWorkspace='NOM_18251_1',OutputWorkspace='NOM_18251_1')
6AlignAndFocusPowder(InputWorkspace='NOM_18251_1',OutputWorkspace='NOM_18251_1',CalFileName=r'/SNS/NOM/IPTS-9317/shared/autoreduce/NOM_calibrate_d18247_2013_09_23.cal',Params='0',ResampleX='-3000',DMin='0.31,0.25,0.13,0.13,0.13,0.42',DMax='13.66,5.83,3.93,2.09,1.57,31.42',TMin='300',TMax='16666.669999999998',PreserveEvents='0',RemovePromptPulseWidth='50',PrimaryFlightPath='19.5',SpectrumIDs='1,2,3,4,5,6',L2='2,2,2,2,2,2',Polar='15,31,67,122,154,7',Azimuthal='0,0,0,0,0,0')
7RenameWorkspace(InputWorkspace='NOM_18251_1',OutputWorkspace='NOM_18251')
8#GatherWorkspaces(InputWorkspace='NOM_18251',OutputWorkspace='NOM_18251',AccumulationMethod='Add')
9NormaliseByCurrent(InputWorkspace='NOM_18251',OutputWorkspace='NOM_18251')
10ConvertUnits(InputWorkspace='NOM_18251',OutputWorkspace='NOM_18251',Target='TOF')
11Load(Filename=r'/SNS/NOM/IPTS-9317/0/18250/NeXus/NOM_18250_event.nxs',OutputWorkspace='NOM_18250_1',ChunkNumber='1',TotalChunks='1')
12FilterBadPulses(InputWorkspace='NOM_18250_1',OutputWorkspace='NOM_18250_1')
13AlignAndFocusPowder(InputWorkspace='NOM_18250_1',OutputWorkspace='NOM_18250_1',CalFileName=r'/SNS/NOM/IPTS-9317/shared/autoreduce/NOM_calibrate_d18247_2013_09_23.cal',Params='0',ResampleX='-3000',DMin='0.31,0.25,0.13,0.13,0.13,0.42',DMax='13.66,5.83,3.93,2.09,1.57,31.42',TMin='300',TMax='16666.669999999998',PreserveEvents='0',RemovePromptPulseWidth='50',PrimaryFlightPath='19.5',SpectrumIDs='1,2,3,4,5,6',L2='2,2,2,2,2,2',Polar='15,31,67,122,154,7',Azimuthal='0,0,0,0,0,0')
14RenameWorkspace(InputWorkspace='NOM_18250_1',OutputWorkspace='NOM_18250')
15#GatherWorkspaces(InputWorkspace='NOM_18250',OutputWorkspace='NOM_18250',AccumulationMethod='Add')
16NormaliseByCurrent(InputWorkspace='NOM_18250',OutputWorkspace='NOM_18250')
17Load(Filename=r'/SNS/NOM/IPTS-9317/0/18249/NeXus/NOM_18249_event.nxs',OutputWorkspace='NOM_18249_1',ChunkNumber='1',TotalChunks='1')
18FilterBadPulses(InputWorkspace='NOM_18249_1',OutputWorkspace='NOM_18249_1')
19AlignAndFocusPowder(InputWorkspace='NOM_18249_1',OutputWorkspace='NOM_18249_1',CalFileName=r'/SNS/NOM/IPTS-9317/shared/autoreduce/NOM_calibrate_d18247_2013_09_23.cal',Params='0',ResampleX='-3000',DMin='0.31,0.25,0.13,0.13,0.13,0.42',DMax='13.66,5.83,3.93,2.09,1.57,31.42',TMin='300',TMax='16666.669999999998',PreserveEvents='0',RemovePromptPulseWidth='50',PrimaryFlightPath='19.5',SpectrumIDs='1,2,3,4,5,6',L2='2,2,2,2,2,2',Polar='15,31,67,122,154,7',Azimuthal='0,0,0,0,0,0')
20RenameWorkspace(InputWorkspace='NOM_18249_1',OutputWorkspace='NOM_18249')
21#GatherWorkspaces(InputWorkspace='NOM_18249',OutputWorkspace='NOM_18249',AccumulationMethod='Add')
22NormaliseByCurrent(InputWorkspace='NOM_18249',OutputWorkspace='NOM_18249')
23Minus(LHSWorkspace='NOM_18250',RHSWorkspace='NOM_18249',OutputWorkspace='NOM_18250')
24ConvertUnits(InputWorkspace='NOM_18250',OutputWorkspace='NOM_18250',Target='dSpacing')
25StripVanadiumPeaks(InputWorkspace='NOM_18250',OutputWorkspace='NOM_18250',BackgroundType='Quadratic',PeakPositionTolerance='0.050000000000000003')
26ConvertUnits(InputWorkspace='NOM_18250',OutputWorkspace='NOM_18250',Target='TOF')
27FFTSmooth(InputWorkspace='NOM_18250',OutputWorkspace='NOM_18250',Filter='Butterworth',Params='20,2',IgnoreXBins='1',AllSpectra='1')
28MultipleScatteringCylinderAbsorption(InputWorkspace='NOM_18250',OutputWorkspace='NOM_18250')
29SetUncertainties(InputWorkspace='NOM_18250',OutputWorkspace='NOM_18250')
30ConvertUnits(InputWorkspace='NOM_18250',OutputWorkspace='NOM_18250',Target='TOF')
31Minus(LHSWorkspace='NOM_18251',RHSWorkspace='NOM_18251',OutputWorkspace='NOM_18251')
32Divide(LHSWorkspace='NOM_18251',RHSWorkspace='NOM_18250',OutputWorkspace='NOM_18251')