\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
The Sliceviewer is a viewer supporting MDEventWorkspace, MDHistoWorkspace & Matrix Workspace. For multi-dimensional workspaces, you can view both MDWorkspaces and MDHistoWorkspaces, a 2D “slice” of the higher dimensional space is shown, whereas a MarixWorkspace simply shows the 2 defined dimensions.
Some of the key features of the Sliceviewer provided are:
The following sections illustrate some of these key features.
The peaks overlay button allows selection of one or more PeaksWorkspaces to display on top of the main data image. This is only enabled for MD workspaces.
Peaks are displayed at the locations defined by each peak center with an ‘x’, while optionally displaying any peak shape if a given peak has been integrated.
If the units of an MDWorkspace are HKL and the workspace has an attached UB matrix then the option to display the image using axes aligned with the crystal (so-called non-orthogonal view) will be now be visible:
Activating this option transforms the axes taking into account the lattice angles encoded by the UB matrix:
In addition to the single-pixel line plots that were present in the previous release, a new tool to allow selection of a rectangular region of interest has been added:
Selecting this tool enables the line plots attached to the image axes but instead of the line plots being the sum over a single pixel in the orthogonal direction the sum is now limited to the selected region:
A new status bar has been added at the bottom to indicate that the cuts can be extracted to separate workspaces by using the relevant keys. Similar keys and status information is presented in the single-pixel line plots mode.
The revamped Sliceviewer has merged several features from the SpectrumViewer in MantidPlot. One of these new features is the ability to show information regarding a given pixel as the mouse cursor moves of the image. The new table shows the following quantities for a MatrixWorkspace:
and for an MDWorkspace:
Underneath the cursor there is a checkbox labelled Track Cursor
.
When checked, the information in the table is updated as the cursor moves
around the image. If unchecked, the information within the table is updated
only when the left-mouse button is clicked within the image.