Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CutMD in the VSI #647

Merged
merged 1 commit into from Apr 24, 2015
Merged

Use CutMD in the VSI #647

merged 1 commit into from Apr 24, 2015

Conversation

OwenArnold
Copy link
Contributor

see original ticket here

tester The cutmd option should work in a similar way to the existing binmd and slicemd options. Original behaviour for those options should be unchanged.

  1. Load the MDEvent_Osiris dataset
  2. Run this in MantidPlot
p = Projection()
p.u = [1,1,0]
p.v = [-1,1,0]
p.createWorkspace('proj')
  1. Load the MDEventWorkspace in the VSI
  2. Rebin the Workspace via CutMD just set the first 3 entries to be 0.1 and the 4th to be 1. Leave projection blank. Set cube axis shown.
  3. Unbin
  4. Do the same as 4 but set the projection to be proj. You will see that the data has been rotated 45 degrees.

@AntonPiccardoSelg
Copy link
Contributor

Following the test instructions produces the expected results.

Additional testing:

  • CutMD with filters: works
  • Switch from CutMD to BinMD and vice versa: works
  • Switch from CutMD to SliceMD and vice versa: works
  • Can insert values into bin5: error given out by logger
  • Using different values: Error parsing Basis\Vector3 parameter: Number of bins for output dimension 3 should be >=1

@AntonPiccardoSelg AntonPiccardoSelg added this to the Release 3.4 milestone Apr 24, 2015
AntonPiccardoSelg pushed a commit that referenced this pull request Apr 24, 2015
@AntonPiccardoSelg AntonPiccardoSelg merged commit 9d486e0 into master Apr 24, 2015
@AntonPiccardoSelg AntonPiccardoSelg deleted the 11630_cutmd_vsi branch April 24, 2015 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants