Ticket #4939 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Convert Matrix/EventWorkspace to MDWorkspace for viewing rectangular detectors

Reported by: Janik Zikovsky Owned by: Janik Zikovsky
Priority: major Milestone: Release 2.1
Component: Mantid Keywords:
Cc: pf9@…, scu@… Blocked By:
Blocking: Tester: Owen Arnold

Description

  • Create a MD workspace for viewing in the SliceViewer/VATES with these dimensions:
    • X pixel coordinate
    • Y pixel coordinate
    • TOF/dSpacing/whatever the dimension of each spectrum is
    • Possibly a 4th dimension = bank/detector number
    • Maybe even a 5th dimension = run number
  • Convert the events from spectrum ID/TOF to these coordinates
  • Possibly, create a MDHistoWorkspace at the same time with the "natural" binning of these events (creating one MDBox per pixel per bin would be way too much memory)
  • View in SliceViewer

Change History

comment:1 Changed 9 years ago by Janik Zikovsky

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Janik Zikovsky

Refs #4939: algorithm to view detector face as MD works pretty well

for single bank; viewing multiple banks works but not as well.

Changeset: fad5cf8ae15fc7c53c653919189251640152650b

comment:3 Changed 9 years ago by Janik Zikovsky

Refs #4939 added tests, using MDEvent instead of MDLeanEvent

Changeset: 7deeed1c2cb7e57a9d17089c529b77fbdfd5d958

comment:4 Changed 9 years ago by Janik Zikovsky

Refs #4939 another test line

Changeset: c2c411b0a97f328a491f55083c6f00b559b6c2f3

comment:5 Changed 9 years ago by Janik Zikovsky

Refs #4939: algorithm to view detector face as MD works pretty well

for single bank; viewing multiple banks works but not as well.

Changeset: fad5cf8ae15fc7c53c653919189251640152650b

comment:6 Changed 9 years ago by Janik Zikovsky

Refs #4939 added tests, using MDEvent instead of MDLeanEvent

Changeset: 7deeed1c2cb7e57a9d17089c529b77fbdfd5d958

comment:7 Changed 9 years ago by Janik Zikovsky

Refs #4939 another test line

Changeset: c2c411b0a97f328a491f55083c6f00b559b6c2f3

comment:8 Changed 8 years ago by Janik Zikovsky

  • Status changed from accepted to verify
  • Resolution set to fixed

Note to testers: currently only works with RectangularDetectors. You might need to rebin to a MDHisto for the view to be more reasonable (or use dynamic rebinning).

comment:9 Changed 8 years ago by Owen Arnold

  • Status changed from verify to verifying
  • Tester set to Owen Arnold

comment:10 Changed 8 years ago by Owen Arnold

  • Status changed from verifying to closed

Works as expected for rectangular detectors.

comment:11 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5785

Note: See TracTickets for help on using tickets.