Ticket #4122 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

LineViewer: 1D integration of MDWorkspace GUI: Specify start/end points, width

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

Description

Refs #4117. To go along with a slice viewer, a GUI for previewing and executing a 1D rebinning of a line through a MDWorkspace is needed.

  • Boxes to enter the start/stop coordinates in N-dimensions exactly.
    • Needs to be linked to the SliceViewer so that the LineOverlay widget updates when user types in values
  • Boxes to give the width in the other dimensions.
  • Checkbox to select between slice (get a new MDEventWorkspace) or bin (get MDHistoWorkspace)
    • If MDHisto, choose the number of bins in the 1D direction.
  • Quick "preview" graph that is just signal along the central line (no integration).
  • "Apply" button that runs the algorithm.
    • Updates the graph to the real integrated spectrum
  • Linked to the created workspace somehow (delete window when workspace gets deleted).

Change History

comment:1 Changed 9 years ago by Janik Zikovsky

  • Status changed from new to accepted
  • Summary changed from 1D integration of MDWorkspace GUI: Specify start/end points, width to LineViewer: 1D integration of MDWorkspace GUI: Specify start/end points, width

comment:2 Changed 9 years ago by Janik Zikovsky

Refs #4122: start of the LineViewer GUI.

Changeset: a1bf671bff8eb8a877538f66b6e52687cf468302

comment:3 Changed 9 years ago by Janik Zikovsky

Refs #4122 more in the line viewer

Changeset: db83ce093d5c0649bc4746713935cc6b01513888

comment:4 Changed 9 years ago by Janik Zikovsky

Refs #4122 fix win build

Changeset: dbf951862219e0b089c14eba62c9fd6537e31e1b

comment:5 Changed 9 years ago by Janik Zikovsky

Refs #4122: LineViewer GUI being filled out.

Calls the Binning algorithm, updates preview/full integration when you change values.

Changeset: 5ba627f5cac61b9debc56772cdec7a379589d95f

comment:6 Changed 9 years ago by Janik Zikovsky

  • Blocked By 4174 added

comment:7 Changed 9 years ago by Janik Zikovsky

Refs #4122: LineViewer will use adaptive binning (SliceMD)

Changeset: ae0f97db4008d08d5e75eadad965bd235e82f936

comment:8 Changed 9 years ago by Janik Zikovsky

Refs #4122: Windows doesn't like my call to a static function

... so using less maintainable code instead.

Changeset: d83423247680148494033bcb7493ba889ad8a706

comment:9 Changed 9 years ago by Janik Zikovsky

Refs #4122: Linked the width to the applying.

Allowed one to change the non-planar dimensions, by linking the start/end coordinate together.

Changeset: 1bfb1c4d61624c4f9514cfe071bcd49a4ce05752

comment:10 Changed 9 years ago by Janik Zikovsky

Refs #4122: Linking the SliceViewer and the LineViewer.

Currently hidden.

Changeset: 9340cd96269df4d25e18574198b36ecc50c9182c

comment:11 Changed 9 years ago by Janik Zikovsky

Refs #4122: Fix builds of LineViewer on other platforms

Changeset: 6c2bb6f4e3b8480155d45cc828435d3bcedef10e

comment:12 Changed 9 years ago by Janik Zikovsky

Break out the SliceViewer from MDI.

Refs #4156: this fixes it. SliceViewerWindow is its own QMainWindow. Moved to MantidQt, added demo app. Refs #4122: More integration between SliceViewer and LineViewer.

Changeset: 729f5fb7db16bc302fda7ccff38158b1680b9bcb

comment:13 Changed 9 years ago by Janik Zikovsky

Refs #4122: Fix windows build.

Changeset: 3219ba21d387a5e5ab0c692bf5db162c2e9816ca

comment:14 Changed 9 years ago by Janik Zikovsky

Refs #4122: Linked back the LineViewer to the LineOverlay

to get GUI updates when manually typing values. Width is not updated by mouse if set by keyboard. Box with the unused width is now hidden. Switching dimensions in the Sliceviewer now correctly updates the LineViewer.

Changeset: 4786f0ae21e382f5933080fa11b930379163982c

comment:15 Changed 9 years ago by Janik Zikovsky

Refs #4122: Make the plane width more explicit in GUI

Changeset: d7d3dc3073363c525d4579620edaef97ff61dfe4

comment:16 Changed 9 years ago by Janik Zikovsky

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

This GUI seems pretty complete. Will create new tickets for extra features.

Note to testers: Make a MDWorkspace, right-click, open the SliceViewer, click the Pen icon. See the help page http://www.mantidproject.org/MantidPlot:_LineViewer

comment:17 Changed 9 years ago by Owen Arnold

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

comment:18 Changed 9 years ago by Owen Arnold

  • Status changed from verifying to closed

Documentation is excellent!

This works and has done for some time. Pascal and some of our external users have been remoting into WISH to use these features. End points, line widths, deletion, previewing all seem to work consistently.

comment:19 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4969

Note: See TracTickets for help on using tickets.