Ticket #4666 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

View MatrixWorkspace directly in SliceViewer

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

Description (last modified by Janik Zikovsky) (diff)

See #4572: The current ConvertToMDEvents algorithm is able to convert the output of SofQW2 into a MDEventWorkspace. It would be preferable to convert directly to a MDHistoWorkspace. Then, with ticket #4665, these could be rebinned properly.

OTHER WAY:

Alternatively, finish the implementation IMDWorkspace for MatrixWorkspace so as to display it that way. Use the Axis0-Axis1 axes to create the dimensions. This could replace the color fill plot.

Change History

comment:1 Changed 9 years ago by Janik Zikovsky

  • Description modified (diff)
  • Summary changed from ConvertMatrixToMD algorithm to ConvertMatrixToMD algorithm, or view MatrixWorskpace directly in SliceViewer

comment:2 Changed 9 years ago by Owen Arnold

Would be nice to have a separate stand-alone algorithm to do this. FYI: Alex seems to have added a mode to ConvertToMDEvents whereby if you select No Q output dimensions, it uses the axis from the input Workspace.

comment:3 Changed 9 years ago by Janik Zikovsky

  • Status changed from new to accepted

comment:4 Changed 9 years ago by Janik Zikovsky

First step: implement IMDIterator for MatrixWorkspace

comment:5 Changed 9 years ago by Janik Zikovsky

  • Description modified (diff)
  • Summary changed from ConvertMatrixToMD algorithm, or view MatrixWorskpace directly in SliceViewer to View MatrixWorskpace directly in SliceViewer

comment:6 Changed 9 years ago by Janik Zikovsky

  • Summary changed from View MatrixWorskpace directly in SliceViewer to View MatrixWorkspace directly in SliceViewer

comment:7 Changed 9 years ago by Janik Zikovsky

Refs #4666 MDIterator for MatrixWorkspace allows SliceViewer

to work, but partially

Changeset: 2c866f88299f5ced38f909ac232d82a964e4af16

comment:8 Changed 9 years ago by Janik Zikovsky

Refs #4666 X dimensions has correct limits

Changeset: 055e648619c3540e8ed15eaea9630a6779e68527

comment:9 Changed 9 years ago by Janik Zikovsky

Refs #4666 MatrixWorkspaceMDIterator much faster

could use parallelizing though.

Changeset: 8a8fc49fa571e22b565cdce2e307effd3fa15346

comment:10 Changed 9 years ago by Janik Zikovsky

Refs #4666 MatrixWorkspaceMDIterator minor

Changeset: f58c539f7c83de0d73dcccbc0947bf1b85636181

comment:11 Changed 9 years ago by Janik Zikovsky

Refs #4666 fix MatrixWorkspaceMDIterator

Changeset: e420501127ed552280c8b813a12238ceeec68502

comment:12 Changed 9 years ago by Janik Zikovsky

Still need to handle different axes (not spectrum axis).

comment:13 Changed 9 years ago by Janik Zikovsky

Refs #4666 disable line mode for viewing MatrixWorkspaces in...

slice viewer.

Changeset: 138b799f94e0d92bec7f220d9060ff226c17e338

comment:14 Changed 9 years ago by Janik Zikovsky

Refs #4666 disable line mode for viewing MatrixWorkspaces in...

slice viewer.

Changeset: 138b799f94e0d92bec7f220d9060ff226c17e338

comment:15 Changed 9 years ago by Janik Zikovsky

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

OK this works well enough, but it might not be necessary if ticket #5066 gets implemented. Will leave as is for now.

Also, Dennis is working on an ImageView that is better suited for MatrixWorkspace.

comment:16 Changed 8 years ago by Owen Arnold

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

comment:17 Changed 8 years ago by Owen Arnold

  • Status changed from verifying to closed

comment:18 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5513

Note: See TracTickets for help on using tickets.