Ticket #1307 (closed: fixed)
Adjust fitting parameters for HRPD and GEM to owrk with d-spacing
Reported by: | Nick Draper | Owned by: | Anders Markvardsen |
---|---|---|---|
Priority: | major | Milestone: | Iteration 24 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: | Roman Tolchenov |
Description
As discussed in the meeting, just adjust the values and functions to work for d-psacing rather than TOF.
Change History
comment:2 Changed 10 years ago by Anders Markvardsen
(In [4831]) Updated test. Note there is room to be more clever than the simple cutoff of 10*sigma for the Back-to-Back exponential, since the alpha and beta parameter also affects this width. Also for speed efficiently would we want the user to be able to specify a cutoff as is done with e.g. Fullprof? 10*sigma corresponds to the most conservative cutoff used when analysing HRPD data with Fullprof. Refs #1307.
comment:4 Changed 10 years ago by Anders Markvardsen
- Status changed from new to accepted
Although done, this was a temporary fix at the time, since with automatic unit conversion now implemented (#1308) it does not matter what unit parameters are specified in (they get converted as needed).
(In [4830]) Converted Back-to-Back exponential parameters to output in d-spacing units. Also, adjusted peak shape function such that when more than 10 sigma away from centre of peak zero is returned. Tests indicate that fitting multiple HRPD peaks are now even faster. Refs #1307.