Commit 8ed70b8d authored by Dominik Arominski's avatar Dominik Arominski
Browse files

D16 cycle 213 data reduction test with explicit wavelength

parent c59d317b
4fc4ccc7bca8fce1b06bae7702a1226c
0d66584779dfb86d98b852545931ba44
d9ac1ce32bfa0a2ced559fd4a2aab33c
136af7320a24a35346b778ea7efbbf9b
71a8e72dde3940ec2aa8dd1ce0fd4897
4951f6fd137944c68467007bc0613625
4de49095f344b431277bb54334ebea3f
......@@ -650,6 +650,58 @@ class D16_AutoProcess_Test(systemtesting.MantidSystemTest):
)
class D16_AutoProcess_Test_cycle213(systemtesting.MantidSystemTest):
"""
Tests autoprocess with D16 data from cycle 213.
"""
def __init__(self):
super(D16_AutoProcess_Test_cycle213, self).__init__()
self.setUp()
def setUp(self):
config['default.facility'] = 'ILL'
config['default.instrument'] = 'D16'
config['logging.loggers.root.level'] = 'Warning'
config.appendDataSearchSubDir('ILL/D16/')
config['algorithms.retained'] = '0'
def cleanup(self):
mtd.clear()
def validate(self):
self.tolerance = 1e-3
self.tolerance_is_rel_err = True
self.disableChecking.append("Instrument")
return ['iq', 'D16_213_iq.nxs']
def runTest(self):
sample = "23389:23390"
transmission_sample = '23388'
beam = '23376'
transmission_beam = '23376'
absorber = '23380'
cell_background = '23359'
transmission_empty_cell = '23358'
# process the sample where wavelength is incorrectly defined in nexus
SANSILLAutoProcess(
SampleRuns=sample,
BeamRuns=beam,
DefaultMaskFile="side_mask",
MaskFiles="beam_mask, side_mask",
TransmissionBeamRuns=transmission_beam,
OutputWorkspace='iq',
ContainerTransmissionRuns=transmission_empty_cell,
SampleTransmissionRuns=transmission_sample,
ContainerRuns=cell_background,
AbsorberRuns=absorber,
ThetaDependent=False,
SampleThickness=0.6,
StitchReferenceIndex=0,
Wavelength=4.54
)
class D22_AutoProcess_Single_Sensitivity(systemtesting.MantidSystemTest):
"""
Tests auto process with D22 data with one sensitivity measurement.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment