Ticket #943 (closed: fixed)
Write a GetEi algorithm
Reported by: | Steve Williams | Owned by: | Steve Williams |
---|---|---|---|
Priority: | major | Milestone: | Iteration 20 |
Component: | Keywords: | Excitations, corrections | |
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
use the peaks in the monitor spectra to calculated the energy of the neutrons when they hit the sample. This algorithm will be instrument dependent, start on Mari, then Maps and then Merlin, noting the unusual monitor geometry in Merlin.
Estimate 30 hours including unit tests.
Change History
comment:2 Changed 11 years ago by Steve Williams
(In [3411]) New algorithm GetEi calculates the kinetic energy of neutrons incident on the source. Remove excessive logging from Validators and LoadDetectorInfo. GetEi works by examining the monitor peaks but doesn't yet use any Gaussian curve fitting, it just finds three points based on their Y values. refs #943
comment:3 Changed 11 years ago by Steve Williams
- Status changed from accepted to testing
- Resolution set to fixed
Coding effort was 4 days instead of 3 partly because neither Gausian1D or FindPeaks were able to reliably find the monitor peaks and I had to write a short function.
Nick said that it should take 3 days without the worrying about the instrument dependent aspects. It should be ready by Tuesday 10 November unless I'm asked to do something else.