Ticket #8146: OSI_diffracTest.py

File OSI_diffracTest.py, 434 bytes (added by Samuel Jackson, 7 years ago)

Testing script

Line 
1from mantid.simpleapi import *
2
3#test file
4sample = 'osiris00102605.raw'
5#vanadium files
6vanFiles = ['osiris00102542.raw', 'osiris00102543.raw', 'osiris00102544.raw']
7
8vanFiles =','.join(vanFiles)
9
10#calibration file
11calFile = 'osiris_041_RES10.cal'
12
13OSIRISDiffractionReduction(
14Sample=sample,
15Vanadium=vanFiles,
16CalFile=calFile,
17OutputWorkspace="OutWs")
18
19ConvertUnits(InputWorkspace="OutWs", OutputWorkspace="OutWs_tof", Target='TOF')