1 | ## |
---|
2 | ## Testing ConvertToMD |
---|
3 | ## |
---|
4 | fake_data = CreateSimulationWorkspace(Instrument='MERLIN',BinParams=[-30,3,279],UnitX='DeltaE', DetectorTableFilename='MER06398.raw') |
---|
5 | AddSampleLog(Workspace=fake_data, LogName='Ei',LogText=str(300), LogType="Number") |
---|
6 | |
---|
7 | ConvertToMDEvents(InputWorkspace='fake_data',OutputWorkspace='fake_md',QDimensions='Q3D',QConversionScales='HKL',MinValues='-15,-15,-15,-15',MaxValues='25,25,25,279') |
---|
8 | DeleteWorkspace('fake_md') |
---|
9 | |
---|
10 | ConvertToMD(InputWorkspace='fake_data',OutputWorkspace='fake_md',QDimensions='Q3D',QConversionScales='HKL',MinValues='-15,-15,-15,-15',MaxValues='25,25,25,279') |
---|