1 | from ISISCommandInterface import * |
---|
2 | |
---|
3 | LOQ() |
---|
4 | MaskFile(r'C:\Backup\Backup_folder1\work\code\Mantid\git\mantid\Test\systemtests\Data\LOQ\MASK.094AA') |
---|
5 | |
---|
6 | # Set data file |
---|
7 | dataFile = r'C:\Backup\Backup_folder1\work\code\Mantid\git\mantid\Test\systemtests\Data\LOQ\LOQ54431.raw' |
---|
8 | AssignSample(dataFile) |
---|
9 | |
---|
10 | # Load flood file |
---|
11 | floodFile = r'C:\Backup\Backup_folder1\work\code\Mantid\git\mantid\Test\systemtests\Data\LOQ\FLAT_CELL.061' |
---|
12 | Load(floodFile,'flood',FirstColumnValue="SpectrumNumber") |
---|
13 | |
---|
14 | # Crop workspaces to the detectors used in the reduction (as defined in the mask file) |
---|
15 | CropToDetector('flood','floodCrop') |
---|
16 | CropToDetector('54431_sans_raw','dataCrop') |
---|
17 | |
---|
18 | Divide('dataCrop','floodCrop', 'DataDividedFlood') |
---|