Ticket #2389: script.py

File script.py, 359 bytes (added by Roman Tolchenov, 7 years ago)
Line 
1fun = '(composite=Convolution,FixResolution=true,NumDeriv=true;name=Resolution,Workspace=resolution3,WorkspaceIndex=0;name=Gaussian,Height=0.5,PeakCentre=0,Sigma=1.5)'
2data3 = Load('data3.nxs')
3resolution3 = Load('resolution3.nxs')
4
5PlotPeakByLogValue('data3,i0;data3,i1;data3,i2',fun,OutputWorkspace='result',PassWSIndexToFunction=True,FitType='Sequential')