1 | """ Main test script for ticket 7362 """ |
---|
2 | |
---|
3 | Load(Filename=r'PG3_12007_event.nxs', OutputWorkspace='PG3_12007') |
---|
4 | |
---|
5 | FilterBadPulses(InputWorkspace='PG3_12007', OutputWorkspace='PG3_12007') |
---|
6 | |
---|
7 | # Output 2 workspaces |
---|
8 | AlignAndFocusPowder(InputWorkspace='PG3_12007', OutputWorkspace='PG3_12007_High', LowResTOFWorkspace="PG3_12007_Low", |
---|
9 | CalFileName=r'/SNS/PG3/2013_1_11A_CAL/PG3_ILL_d12007_2013_01_09.cal', |
---|
10 | Params='-0.0004',DMin='0.1', DMax='2.2', TMax='16666.669999999998', |
---|
11 | RemovePromptPulseWidth='50', LowResRef='15000') |
---|
12 | |
---|
13 | EditInstrumentGeometry(Workspace="PG3_12007_High", SpectrumIDs = 1, L2 = 3.0, |
---|
14 | Polar = 90.0, Azimuthal = 0.0, DetectorIDs = 1) |
---|
15 | |
---|
16 | EditInstrumentGeometry(Workspace="PG3_12007_Low", SpectrumIDs = 1, L2 = 3.0, |
---|
17 | Polar = 90.0, Azimuthal = 0.0, DetectorIDs = 2) |
---|
18 | |
---|
19 | ConvertToMatrixWorkspace(InputWorkspace="PG3_12007_High", OutputWorkspace="PG3_12007_High") |
---|
20 | ConvertToMatrixWorkspace(InputWorkspace="PG3_12007_Low", OutputWorkspace="PG3_12007_Low") |
---|
21 | |
---|
22 | ConjoinWorkspaces(InputWorkspace1 = "PG3_12007_High", InputWorkspace2 = "PG3_12007_Low", CheckOverlapping=False) |
---|
23 | |
---|