Ticket #7399 (closed: fixed)
Use Fit algorithm in IndirectDtaAnalysis convFit
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Release 2.6 |
Component: | Indirect Inelastic | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Roman Tolchenov |
Description (last modified by Martyn Gigg) (diff)
Spencer has updated his convFit routines to use the Fit functionality and the changes need to be merged into IndirectDataAnalysis
Change History
comment:3 Changed 7 years ago by Martyn Gigg
- Summary changed from Use Fit algorithm in IndirectDtaAnalysis furyFitSeq to Use Fit algorithm in IndirectDtaAnalysis convFit
comment:5 Changed 7 years ago by Martyn Gigg
Use Fit in furyFitSeq in IndirectDataAnalysis. Refs #7399
Uses the Fit algorithm instead of some custom code before.
Changeset: 12924d1a8281143c4e38cb1449a5d9b3482d1e2b
comment:6 Changed 7 years ago by Martyn Gigg
Branch: feature/7399_update_indirect_convfit
Tester: The script below will help you run the fitting. You will need to make sure that the systemtests data directory is in your data search path. You should end up with 4 workspaces, one of which is a GroupWorkspace with a number of members that matches the number of spectra in the input to furyfitSeq: irs53664_graphite002_iqt. You should also have a parameter table that contains the fit parameters and the usual fit workspace containing the original fit results.
from IndirectDataAnalysis import fury, furyfitSeq samples = ['irs53664_graphite002_red.nxs'] resolution = 'irs53664_graphite002_res.nxs' rebin = '-0.400000,0.002000,0.400000' # Fury Seq Fit func = r'name=LinearBackground,A0=0,A1=0,ties=(A1=0);name=UserFunction,Formula=Intensity*exp(-(x/Tau)),Intensity=0.355286,Tau=100;ties=(f1.Intensity=1-f0.A0)' ftype = '1E_s' startx = 0.013717 endx = 0.169171 fury_ws = fury(samples, resolution, rebin, Save=False, Verbose=False, Plot=False) # Test FuryFit Sequential furyfitSeq_ws = furyfitSeq(fury_ws[0], func, ftype, startx, endx, Save=False, Plot='None', Verbose=False)
comment:7 Changed 7 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:8 Changed 7 years ago by Roman Tolchenov
- Status changed from verify to verifying
- Tester set to Roman Tolchenov
comment:8 Changed 7 years ago by Roman Tolchenov
- Status changed from verifying to verify
Merge remote-tracking branch 'origin/feature/7399_update_indirect_convfit'
comment:10 Changed 7 years ago by Roman Tolchenov
- Status changed from verifying to closed
Ran the script. Everything works.
comment:11 Changed 7 years ago by Nick Draper
- Component changed from Framework to Indirect Inelastic
comment:12 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 8245