1 | # This file was created with the old SofQW algorithm |
---|
2 | Load(Filename='irs53664_graphite002_sqw.nxs', OutputWorkspace='irs53664_graphite002_sqw') |
---|
3 | # Do something to show how the incorrect detector table breaks analysis |
---|
4 | ConvertUnits(InputWorkspace='irs53664_graphite002_sqw', OutputWorkspace='original_sqw_conversion', Target='Wavelength', EMode='Indirect', EFixed=1.845) |
---|
5 | |
---|
6 | # This is the file the original Sqw was created from |
---|
7 | Load(Filename='irs53664_graphite002_red.nxs', OutputWorkspace='irs53664_graphite002_red') |
---|
8 | # Recreate the Sqw with the fixed algorithm |
---|
9 | SofQW(InputWorkspace='irs53664_graphite002_red', OutputWorkspace='new_sqw', QAxisBinning='0.4,0.1,1.8', EMode='Indirect', EFixed=1.845) |
---|
10 | # Do the same check |
---|
11 | ConvertUnits(InputWorkspace='new_sqw', OutputWorkspace='new_sqw_conversion', Target='Wavelength', EMode='Indirect', EFixed=1.845) |
---|