Ticket #8109 (closed: fixed)
Implement Fullprof's polynomial background
Reported by: | Wenduo Zhou | Owned by: | Wenduo Zhou |
---|---|---|---|
Priority: | major | Milestone: | Release 3.0 |
Component: | Diffraction | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Vickie Lynch |
Description
Implement the polynomial background (Nba=0) defined in Fullprof.
Attachments
Change History
comment:2 Changed 7 years ago by Wenduo Zhou
Updated CMake. Refs #8109.
Changeset: 93a44423ee08b817abbb326570beb77bb416324c
comment:3 Changed 7 years ago by Wenduo Zhou
Made progress in implementation. Refs #8109.
Changeset: 9d2449b7e77e355e903498a857429b369fbd1130
comment:4 Changed 7 years ago by Wenduo Zhou
Fixed a bug and started implementing unit test. Refs #8109.
Changeset: 515a122bd3f8c67cd2843678b711d92a829fa3f5
comment:5 Changed 7 years ago by Wenduo Zhou
Added unit test. Refs #8109.
Changeset: e36640c933a8aea756e854a9efb14b89a64c281d
comment:6 Changed 7 years ago by Wenduo Zhou
- Status changed from inprogress to verify
- Resolution set to fixed
For Testers
The math of this background function can be found at http://www.mantidproject.org/PolynomialBackground.
Here is a simple way to see how the function works:
- Download attached data file. The data is from a Fullprof .prf file of a VULCAN Silicon run. The polynomial coefficients (listed below) are from the .pcr file.
- In MantidPlot, run 'LoadAscii' to load this data file.
- Launch fit interface on the loaded workspace;
- Add the background function 'FullprofPolynomial';
- Set the function as
- n = 6
- Bkpos = 11000.
- A0 ~ A5 as 0.034, 0.027, -0.129, 0.161, -0.083, 0.015
- Evaluate the function. You can see how close the Fullprof result and Mantid result are.
- Fit the function. You should get a even better match while the refined coefficients should not have huge different from the input.
comment:7 Changed 7 years ago by Vickie Lynch
- Status changed from verify to verifying
- Tester set to Vickie Lynch
comment:8 Changed 7 years ago by Vickie Lynch
- Status changed from verifying to closed
Merge remote branch 'origin/feature/8109_new_fp_bkgd'
Full changeset: 497e64d1da087163c0bbcc29fd70ac75a9a362eb
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 8954
Starting to implement (not finished). Refs #8109.
Changeset: e9fb8043daed7f0d1b2b52bb48a406f11b3e1b8c