Ticket #5710: convert_to_md_speed.py

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