Ticket #7248 (closed: fixed)
MantidEV show distance between last points picked
Reported by: | Dennis Mikkelson | Owned by: | Dennis Mikkelson |
---|---|---|---|
Priority: | major | Milestone: | Release 2.6 |
Component: | Diffraction | Keywords: | |
Cc: | petersonpf@…, mikkelsonr@…, owen.arnold@… | Blocked By: | |
Blocking: | Tester: | Michael Reuter |
Description
For the splatter plot pick mode, Christina would like to have information on the distance between two points (in Q-scalar and sqrt(h2+k2+l2)) displayed.
Change History
comment:2 Changed 7 years ago by Dennis Mikkelson
RE 7248_MantidEV_show_distance_between_last_points_picked
Initial version, works if Q is in sample coordinates for both Q and HKL. In order for this to work for HKL when Q is in lab coordinates we will need to get and apply the goniometer rotation.
refs #7248
Changeset: 1f21e028bf77c60a0c9eda94cf64fae331f40a11
comment:3 Changed 7 years ago by Dennis Mikkelson
RE 7248_MantidEV_show_distance_between_last_points_picked
The getUB() method of MantidEVWorker now includes a parameter indicating whether or not the UB should be converted to lab coordinates. If lab_coords is true, the goniometer rotation matrix is obtained from the first peak in the peaks workspace and is multiplied times UB to get a UB in lab_coordinates.
refs #7248
Changeset: fa9f48d765d3cc4a91cc27e8e65272701cf72532
comment:4 Changed 7 years ago by Dennis Mikkelson
- Status changed from accepted to verify
- Resolution set to fixed
NOTES TO TESTER
The branch name is feature/7248_MantidEV_show_distance_between_last_points_picked
To test:
- Start MantidEV, load some data, find peaks and find UB.
- Switch to the Point Info tab on MantidEV
- On MantidPlot, bring up the table view of the peaks workspace.
- Choose a peak in the peaks workspace and enter the lab Q coordinates of that peak at the bottom of the Point Info tab.
- Since the initial point was (0,0,0), the value displayed for the |Q2-Q1| should be the same as |Q| and the value displayed for |hkl2-hkl1| should be essentially sqrt(h2+k2+l2).
comment:5 Changed 7 years ago by Michael Reuter
- Status changed from verify to verifying
- Tester set to Michael Reuter