Ticket #11627 (new)
CutMD reprojection
Reported by: | Owen Arnold | Owned by: | Owen Arnold |
---|---|---|---|
Priority: | major | Milestone: | Release 3.5 |
Component: | Framework | Keywords: | vates |
Cc: | Blocked By: | #11572 | |
Blocking: | Tester: |
Description
Remaining use-case to implement for CutMD
reproject MDEvents only.
md_4d = Load(Filename='TestSQW_LET.nxs', LoaderName='LoadMD', LoaderVersion=1) p = Projection([1,1,0], [-1,1,0], [0,0,1]) md_2d = CutMD(InputWorkspace='hkl', P1Bin='-0.1,0.01,0.7', P2Bin='-0.7,0.01,0.5', P3Bin='-1,1', P4Bin='0.1,0.2',Projection=p.createWorkspace('proj'), NoPix=False) # Should be able to re-cut p1 = Projection([1,-1,0], [1,1,0], [0,0,1]) # Different projection. Projection is not compounded. Projection is completely re-applied on the original 'file data'. md_1d = CutMD(InputWorkspace=md_2d, Projection=p1.createWorkspace('proj1'), [-0.01, 0.01], [-0.01,0.01], [-0.1, 10, 0.1], [0.1,0.2]) # With the reprojection-we force users to provide non-empty PnBin parameters for ALL dimensions
Note: See
TracTickets for help on using
tickets.
This ticket has been transferred to github issue 12465