Ticket #10541: verify10541.py

File verify10541.py, 594 bytes (added by Vickie Lynch, 6 years ago)

testing script

Line 
1LoadIsawPeaks(Filename='verify10541.peaks', OutputWorkspace='peaks')
2LoadIsawUB(Inputworkspace='peaks',Filename='verify10541.mat')
3nx_event_filename = '/SNS/MANDI/2014_1_11B_SCI/data/MANDI_801_event.nxs'
4event_ws = LoadEventNexus( Filename = nx_event_filename )
5md = ConvertToDiffractionMDWorkspace( InputWorkspace = event_ws, LorentzCorrection = False )
6IntegratePeaksMD(InputWorkspace='md', PeakRadius=0.003, PeaksWorkspace='peaks', OutputWorkspace='peaks', IntegrateIfOnEdge=False, Cylinder=True, CylinderLength=0.075, PercentBackground=10, ProfileFunction='NoFit', IntegrationOption='Sum')