Ticket #8146: OSI_diffracTest.py
File OSI_diffracTest.py, 434 bytes (added by Samuel Jackson, 7 years ago) |
---|
Line | |
---|---|
1 | from mantid.simpleapi import * |
2 | |
3 | #test file |
4 | sample = 'osiris00102605.raw' |
5 | #vanadium files |
6 | vanFiles = ['osiris00102542.raw', 'osiris00102543.raw', 'osiris00102544.raw'] |
7 | |
8 | vanFiles =','.join(vanFiles) |
9 | |
10 | #calibration file |
11 | calFile = 'osiris_041_RES10.cal' |
12 | |
13 | OSIRISDiffractionReduction( |
14 | Sample=sample, |
15 | Vanadium=vanFiles, |
16 | CalFile=calFile, |
17 | OutputWorkspace="OutWs") |
18 | |
19 | ConvertUnits(InputWorkspace="OutWs", OutputWorkspace="OutWs_tof", Target='TOF') |