Ticket #10541 (closed: fixed)
Intensity and Sigma wrong for NoFIt IntegratePeaksMD2
Reported by: | Vickie Lynch | Owned by: | Vickie Lynch |
---|---|---|---|
Priority: | major | Milestone: | Release 3.3 |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Wenduo Zhou |
Description
The INTI and SIGI values that are given for each peak in the profile file are not correct. The INTI that is given is the sum of all 100 counts and the SIGI is the square root. It should be
INTI = Peak - Ratio*Bkgd SIGI = sqrt(Peak + Ratio*Ratio*Bkgd)
If the Peak is the sum of the middle 80 channels, then BKGD is the sum of channels 0-9 plus 90-99. The Ratio is then 80/20 = 4.
Attachments
Change History
comment:2 Changed 6 years ago by Vickie Lynch
Refs #10541 fix intensity sum and zero at profile edge
Changeset: 25018a3e9588db3e5d0e5b1909e66b161b2a23f5
Changed 6 years ago by Vickie Lynch
- Attachment NoFit_integration.ods added
Correct peak results from Art Shultz
comment:3 Changed 6 years ago by Vickie Lynch
- Status changed from new to assigned
To test run attached script and check that Intens and SigInt match those in attached spreadsheet.
comment:4 Changed 6 years ago by Vickie Lynch
- Status changed from assigned to verify
- Resolution set to fixed
comment:5 Changed 6 years ago by Wenduo Zhou
- Status changed from verify to verifying
- Tester set to Wenduo Zhou
comment:6 Changed 6 years ago by Wenduo Zhou
- Status changed from verifying to verify
- Tester Wenduo Zhou deleted
comment:7 Changed 6 years ago by Wenduo Zhou
- Status changed from verify to verifying
- Tester set to Wenduo Zhou
comment:8 Changed 6 years ago by Wenduo Zhou
The algorithm works as it is required. It is closed.
ConvertToDiffractionMDWorkspace is slow, though it is parallelized. From the monitor, I could see that all the threads did not work in full power (only 10 to 30 percent). There might be some space to improve the performance of the algorithm.
comment:9 Changed 6 years ago by Wenduo Zhou
- Status changed from verifying to closed
Merge remote-tracking branch 'origin/feature/10541_nofit_cylindrical_intensity'
Full changeset: 70d620a30a93813514d0b64bc8300ab7877a8f99
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 11383
Refs #10541 sum background for NoFit and add MANDI to MaskBTP
Changeset: 4caeae0ce8546b8e24d3ee4c4c59fe0ca7c8168e