| 1 | ###################################################################### |
|---|
| 2 | #Python Script Generated by GeneratePythonScript Algorithm |
|---|
| 3 | ###################################################################### |
|---|
| 4 | LoadAscii(Filename=r'PG3_15038-4.dat', |
|---|
| 5 | OutputWorkspace='PG3_15038', |
|---|
| 6 | Unit='TOF') |
|---|
| 7 | CreateLeBailFitInput(ReflectionsFile=r'', |
|---|
| 8 | FullprofParameterFile=r'test2013B_b4.irf', |
|---|
| 9 | GenerateBraggReflections='1', |
|---|
| 10 | MaxHKL='13,13,13', |
|---|
| 11 | Bank='41', |
|---|
| 12 | LatticeConstant='10.257', |
|---|
| 13 | InstrumentParameterWorkspace='Bank41InstrumentParameterTable_Raw', |
|---|
| 14 | BraggPeakParameterWorkspace='BraggPeakParameterTable_C') |
|---|
| 15 | ProcessBackground(InputWorkspace='PG3_15038', |
|---|
| 16 | OutputWorkspace='PG3_15038_Background', |
|---|
| 17 | Options='SelectBackgroundPoints', |
|---|
| 18 | LowerBound='26043', |
|---|
| 19 | UpperBound='170000', |
|---|
| 20 | BackgroundPoints='26043,27888,30000,30530,32890,36903,44353,50572,60000,80000,91000,98200,112233,121670,160202,170000', |
|---|
| 21 | NoiseTolerance='0.10000000000000001') |
|---|
| 22 | Fit(Function='name=Polynomial,n=6,A0=0.526176,A1=-2.24383e-05,A2=7.62938e-10,A3=-1.45888e-14,A4=1.45866e-19,A5=-7.16824e-25,A6=1.36509e-30', |
|---|
| 23 | InputWorkspace='PG3_15038_Background', |
|---|
| 24 | MaxIterations='1000', |
|---|
| 25 | Minimizer='Levenberg-MarquardtMD', |
|---|
| 26 | CreateOutput='1', |
|---|
| 27 | Output='PG3_15038_Background', |
|---|
| 28 | StartX='26043', |
|---|
| 29 | EndX='170000') |
|---|
| 30 | LeBailFit(InputWorkspace='PG3_15038', |
|---|
| 31 | OutputWorkspace='PG3_15038_C', |
|---|
| 32 | InputParameterWorkspace='Bank41InstrumentParameterTable_Raw', |
|---|
| 33 | OutputParameterWorkspace='Dummy_ParameterTable', |
|---|
| 34 | InputHKLWorkspace='BraggPeakParameterTable_C', |
|---|
| 35 | OutputPeaksWorkspace='BraggPeakParameterTable_C', |
|---|
| 36 | FitRegion='26043,170000', |
|---|
| 37 | Function='Calculation', |
|---|
| 38 | BackgroundParametersWorkspace='PG3_15038_Background_Parameters', |
|---|
| 39 | PeakRadius='8', |
|---|
| 40 | UseInputPeakHeights='0', |
|---|
| 41 | ToleranceToImportPeak=10.) |
|---|