Ticket #6729: loqreduction.py

File loqreduction.py, 494 bytes (added by Gesner Passos, 8 years ago)

Script to show the bug.

Line 
1from mantid.simpleapi import * 
2import ISISCommandInterface as ici
3
4ici.LOQ()
5ici.Set1D()
6
7print ici.ReductionSingleton().instrument.getDetector('FRONT').rescaleAndShift.fitShift
8print ici.ReductionSingleton().instrument.getDetector('FRONT').rescaleAndShift.fitScale
9
10
11ici.MaskFile('/tmp/loqsystem/MASKLOQ_MAN.112A')
12
13print ici.ReductionSingleton().instrument.getDetector('FRONT').rescaleAndShift.fitShift
14print ici.ReductionSingleton().instrument.getDetector('FRONT').rescaleAndShift.fitScale