Ticket #7247 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

MantidEV copy UB to MD workspace

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: Peter Peterson

Description

After UB has been found/selected/changed, copy it from the peaks workspace to the md workspace. This allows the non-orthogonal axes in VSI.

Change History

comment:1 Changed 7 years ago by Dennis Mikkelson

  • Status changed from new to accepted

comment:2 Changed 7 years ago by Dennis Mikkelson

RE 7247_MantidEV_copy_UB_to_MD_workspace

Added method copySample() to MantidEVWorker. This method is now called whenever the UB is changed. That is, it is called by the "Apply" code for the Find UB, Choose Cell and Change HKL tabs, which are all of the places that change the UB.

refs #7247

Changeset: d935a1034a401a479bf1a59ab2786fdd62fd8267

comment:3 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/7247_MantidEV_copy_UB_to_MD_workspace.

To test:

  1. Use MantidEV to load and convert to MD the run TOPAZ_6674, which is data from a sapphire crystal. Use Max|Q|=20 and apply the Lorentz Correction.
  2. Bring up the VSI for the MD workspace, switch to the scatter plot and turn on the Cube Axes. As you rotate the 3D view around, the axes appear to be at right angles.
  3. Use MantidEV to find Peaks using Max a,b,c = 10, Number of Peaks = 250, Min Intensity = 500
  4. Use MantidEV find UB Using FFT with Min a,b,c = 4, Max a,b,c = 10 and Tolerance = 0.12. NOTE: When the Apply button is pressed, CopySample is called, as seen on the Results Log panel.
  5. Bring up the VSI again as in #2. Now, as you rotate the 3D view, the axes no longer appear to be at right angles. (NOTE: Whether the axes are actually drawn at the correct angles and in the correct relationship to the splatter plot data is a different issue, and is beyond the scope of this ticket, or MantidEV.)
  6. Use MantidEV to Choose a cell of type Rhombohedral R. The results log shows that the sample is copied.
  7. Use MantidEV to Change HKL. (You can leave the matrix as the identity matrix.) The results log shows that the sample is copied.

comment:4 Changed 7 years ago by Peter Peterson

  • Status changed from verify to verifying
  • Tester set to Peter Peterson

comment:5 Changed 7 years ago by Peter Peterson

Dennis's comment asking if the cube axes are correct is now #7298.

comment:6 Changed 7 years ago by Peter Peterson

  • Status changed from verifying to closed

comment:7 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:8 Changed 7 years ago by Nick Draper

  • Component changed from Framework to Diffraction

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8093

Note: See TracTickets for help on using tickets.