Ticket #2568: gem_script.py

File gem_script.py, 9.1 KB (added by Martyn Gigg, 10 years ago)
Line 
1LoadRaw(LoadLogFiles="0",OutputWorkspace="Vanadium",Filename="X:\\GEM50794.raw",)
2NormaliseByCurrent(InputWorkspace="Vanadium",OutputWorkspace="Vanadium",)
3SolidAngle(InputWorkspace="Vanadium",OutputWorkspace="Corr",)
4CreateSingleValuedWorkspace(DataValue="100",OutputWorkspace="Sc",)
5Multiply(RHSWorkspace="Sc",OutputWorkspace="Corr",LHSWorkspace="Corr",)
6Divide(RHSWorkspace="Corr",OutputWorkspace="Vanadium",LHSWorkspace="Vanadium",)
7ConvertUnits(Target="Wavelength",InputWorkspace="Vanadium",OutputWorkspace="Vanadium",)
8Integration(RangeUpper="3",RangeLower="1.3999999999999999",InputWorkspace="Vanadium",OutputWorkspace="Vanadium",)
9Multiply(RHSWorkspace="Vanadium",OutputWorkspace="Corr",LHSWorkspace="Corr",)
10CreateSingleValuedWorkspace(DataValue="100000",OutputWorkspace="Sc",)
11Divide(RHSWorkspace="Sc",OutputWorkspace="Corr",LHSWorkspace="Corr",)
12MaskDetectorsIf(OutputCalFile="offsets_2006_cycle064.cal",InputWorkspace="Corr",InputCalFile="offsets_2006_cycle064.cal",Mode="DeselectIf",)
13LoadNexusProcessed(OutputWorkspace="Vanadium-1",Filename="c:/mantidproject/testscripts/gem_trans_1.nxs",)
14LoadNexusProcessed(OutputWorkspace="Vanadium-2",Filename="c:/mantidproject/testscripts/gem_trans_1.nxs",)
15LoadNexusProcessed(OutputWorkspace="Vanadium-3",Filename="c:/mantidproject/testscripts/gem_trans_1.nxs",)
16LoadNexusProcessed(OutputWorkspace="Vanadium-4",Filename="c:/mantidproject/testscripts/gem_trans_1.nxs",)
17LoadNexusProcessed(OutputWorkspace="Vanadium-5",Filename="c:/mantidproject/testscripts/gem_trans_1.nxs",)
18LoadNexusProcessed(OutputWorkspace="Vanadium-6",Filename="c:/mantidproject/testscripts/gem_trans_1.nxs",)
19LoadRaw(LoadLogFiles="0",OutputWorkspace="sample",Filename="X:\\GEM50797.raw",)
20NormaliseByCurrent(InputWorkspace="sample",OutputWorkspace="sample",)
21AlignDetectors(CalibrationFile="offsets_2006_cycle064.cal",InputWorkspace="sample",OutputWorkspace="sample",)
22Divide(RHSWorkspace="Corr",OutputWorkspace="sample",LHSWorkspace="sample",)
23CreateSingleValuedWorkspace(DataValue="1",OutputWorkspace="scale",)
24Multiply(RHSWorkspace="scale",OutputWorkspace="sample",LHSWorkspace="sample",)
25DiffractionFocussing(GroupingFileName="offsets_2006_cycle064.cal",InputWorkspace="sample",OutputWorkspace="sample",)
26CropWorkspace(EndWorkspaceIndex="0",InputWorkspace="sample",OutputWorkspace="sample-1",)
27CropWorkspace(EndWorkspaceIndex="1",InputWorkspace="sample",StartWorkspaceIndex="1",OutputWorkspace="sample-2",)
28CropWorkspace(EndWorkspaceIndex="2",InputWorkspace="sample",StartWorkspaceIndex="2",OutputWorkspace="sample-3",)
29CropWorkspace(EndWorkspaceIndex="3",InputWorkspace="sample",StartWorkspaceIndex="3",OutputWorkspace="sample-4",)
30CropWorkspace(EndWorkspaceIndex="4",InputWorkspace="sample",StartWorkspaceIndex="4",OutputWorkspace="sample-5",)
31CropWorkspace(EndWorkspaceIndex="5",InputWorkspace="sample",StartWorkspaceIndex="5",OutputWorkspace="sample-6",)
32Divide(RHSWorkspace="Vanadium-1",OutputWorkspace="ResultD-1",LHSWorkspace="sample-1",)
33Divide(RHSWorkspace="Vanadium-2",OutputWorkspace="ResultD-2",LHSWorkspace="sample-2",)
34Divide(RHSWorkspace="Vanadium-3",OutputWorkspace="ResultD-3",LHSWorkspace="sample-3",)
35Divide(RHSWorkspace="Vanadium-4",OutputWorkspace="ResultD-4",LHSWorkspace="sample-4",)
36Divide(RHSWorkspace="Vanadium-5",OutputWorkspace="ResultD-5",LHSWorkspace="sample-5",)
37Divide(RHSWorkspace="Vanadium-6",OutputWorkspace="ResultD-6",LHSWorkspace="sample-6",)
38Rebin(Params="0.471421",InputWorkspace="ResultD-1",OutputWorkspace="ResultD-1",)
39Rebin(Params="0.290026",InputWorkspace="ResultD-2",OutputWorkspace="ResultD-2",)
40Rebin(Params="0.141317",InputWorkspace="ResultD-3",OutputWorkspace="ResultD-3",)
41Rebin(Params="0.0900922",InputWorkspace="ResultD-4",OutputWorkspace="ResultD-4",)
42Rebin(Params="0.0682286",InputWorkspace="ResultD-5",OutputWorkspace="ResultD-5",)
43Rebin(Params="0.0550887",InputWorkspace="ResultD-6",OutputWorkspace="ResultD-6",)
44ConvertUnits(Target="TOF",InputWorkspace="ResultD-1",OutputWorkspace="ResultTOF-1",)
45ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultD-1",NaNValue="0",OutputWorkspace="ResultD-1",)
46ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultTOF-1",NaNValue="0",OutputWorkspace="ResultTOF-1",)
47ConvertUnits(Target="TOF",InputWorkspace="ResultD-2",OutputWorkspace="ResultTOF-2",)
48ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultD-2",NaNValue="0",OutputWorkspace="ResultD-2",)
49ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultTOF-2",NaNValue="0",OutputWorkspace="ResultTOF-2",)
50ConvertUnits(Target="TOF",InputWorkspace="ResultD-3",OutputWorkspace="ResultTOF-3",)
51ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultD-3",NaNValue="0",OutputWorkspace="ResultD-3",)
52ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultTOF-3",NaNValue="0",OutputWorkspace="ResultTOF-3",)
53ConvertUnits(Target="TOF",InputWorkspace="ResultD-4",OutputWorkspace="ResultTOF-4",)
54ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultD-4",NaNValue="0",OutputWorkspace="ResultD-4",)
55ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultTOF-4",NaNValue="0",OutputWorkspace="ResultTOF-4",)
56ConvertUnits(Target="TOF",InputWorkspace="ResultD-5",OutputWorkspace="ResultTOF-5",)
57ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultD-5",NaNValue="0",OutputWorkspace="ResultD-5",)
58ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultTOF-5",NaNValue="0",OutputWorkspace="ResultTOF-5",)
59ConvertUnits(Target="TOF",InputWorkspace="ResultD-6",OutputWorkspace="ResultTOF-6",)
60ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultD-6",NaNValue="0",OutputWorkspace="ResultD-6",)
61ReplaceSpecialValues(BigNumberThreshold="99999999.999999985",InfinityValue="0",InputWorkspace="ResultTOF-6",NaNValue="0",OutputWorkspace="ResultTOF-6",)
62GroupWorkspaces(InputWorkspaces="ResultTOF-1",OutputWorkspace="ResultTOFgrp",)
63SaveGSS(SplitFiles="False",InputWorkspace="ResultTOFgrp",Append="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.gss",)
64SaveGSS(SplitFiles="False",InputWorkspace="ResultTOF-1",Append="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.gss",)
65SaveGSS(SplitFiles="False",InputWorkspace="ResultTOF-2",Bank="2",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.gss",)
66SaveGSS(SplitFiles="False",InputWorkspace="ResultTOF-3",Bank="3",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.gss",)
67SaveGSS(SplitFiles="False",InputWorkspace="ResultTOF-4",Bank="4",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.gss",)
68SaveGSS(SplitFiles="False",InputWorkspace="ResultTOF-5",Bank="5",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.gss",)
69SaveGSS(SplitFiles="False",InputWorkspace="ResultTOF-6",Bank="6",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.gss",)
70SaveNexusProcessed(InputWorkspace="ResultTOF-2",Append="1",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.nxs",)
71SaveNexusProcessed(InputWorkspace="ResultTOF-3",Append="1",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.nxs",)
72SaveNexusProcessed(InputWorkspace="ResultTOF-4",Append="1",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.nxs",)
73SaveNexusProcessed(InputWorkspace="ResultTOF-5",Append="1",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.nxs",)
74SaveNexusProcessed(InputWorkspace="ResultTOF-6",Append="1",Filename="B:/Cycle_10_2/calibration_mantid/gem50797.nxs",)
75SaveFocusedXYE(SplitFiles="False",InputWorkspace="ResultTOF-1",IncludeHeader="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797_b1_TOF.dat",)
76SaveFocusedXYE(SplitFiles="False",InputWorkspace="ResultTOF-2",IncludeHeader="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797_b2_TOF.dat",)
77SaveFocusedXYE(SplitFiles="False",InputWorkspace="ResultTOF-3",IncludeHeader="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797_b3_TOF.dat",)
78SaveFocusedXYE(SplitFiles="False",InputWorkspace="ResultTOF-4",IncludeHeader="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797_b4_TOF.dat",)
79SaveFocusedXYE(SplitFiles="False",InputWorkspace="ResultTOF-5",IncludeHeader="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797_b5_TOF.dat",)
80SaveFocusedXYE(SplitFiles="False",InputWorkspace="ResultTOF-6",IncludeHeader="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797_b6_TOF.dat",)
81SaveFocusedXYE(SplitFiles="False",InputWorkspace="ResultD-1",IncludeHeader="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797_b1_D.dat",)
82SaveFocusedXYE(SplitFiles="False",InputWorkspace="ResultD-2",IncludeHeader="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797_b2_D.dat",)
83SaveFocusedXYE(SplitFiles="False",InputWorkspace="ResultD-3",IncludeHeader="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797_b3_D.dat",)
84SaveFocusedXYE(SplitFiles="False",InputWorkspace="ResultD-4",IncludeHeader="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797_b4_D.dat",)
85SaveFocusedXYE(SplitFiles="False",InputWorkspace="ResultD-5",IncludeHeader="0",Filename="B:/Cycle_10_2/calibration_mantid/gem50797_b5_D.dat",)