Sliceviewer in workbench

Expected behavior

plot data when opening sliceviewer

Actual behavior

“Could not open slice viewer for workspace ‘OFFSPEC00050000’”

Steps to reproduce the behavior

load OFFSPEC run 50000, right click and show slice viewer. (The same dataset can be plotted when dataset is rebinned, probably because original data is event mode, but then see issue below)

Platforms affected

Workbench nightly build

###Issue 2:

Expected behavior

navigate data in sliceviewer

Actual behavior

sliceviewer is very slow and unresponsive

Steps to reproduce the behavior

load OFFSPEC run 50000, run rebin, params=200, right click and show slice viewer

Platforms affected

Workbench nightly build

The quick fix to the slow down issue is that when you rebin, if you untick ‘PreserveEvents’ and then select Show Sliceviewer on the output workspace. This probably means you’ll want to output the rebinned workspace to a different name as it’s been converted to a histogram.

For both issues above we’re considering how we can potentially incorporate rebinning into the Sliceviewer as standard (but maybe optional) which would solve both issues above.

We’ve made a change to how we load event workspaces which will resolve this issue. It is available now in the nightly build, and will be in Mantid 5.0.

We have added a NumberOfBins Property to LoadEventNexus, that by default now automatically rebins (without loosing data) all event workspaces to 500 linear bins. This will allow sliceviewer and other plotting tools to work out of the box without needing to rebin first.

There is another issue open about Eventdata running slowly in Sliceviewer which should remove the need to rebin without preserving events for Sliceviewer to run fast (normally!)