Ticket #41 (closed: fixed)
Create a convert To Wavelength algorithm
Reported by: | Nick Draper | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | major | Milestone: | Iteration 3 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
The algorithm converts all of the tof axes in a 2D workspace to there wavelength values.
The algorithm is wavelength = mn * (d1+d2)/tof
where mn is the mass of a neutron (this should be in a constants class d1 is the distance from the source to the sample d2 is the distance from the sample to the detector tof is the time of flight value.
We should use the std::franform function for efficiency
Change History
comment:9 Changed 13 years ago by Russell Taylor
- Status changed from assigned to closed
- Resolution set to fixed
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 889
Note: See
TracTickets for help on using
tickets.