.. algorithm:: .. summary:: .. relatedalgorithms:: .. properties:: Description ----------- This algorithm takes a a :ref:`MatrixWorkspace ` and converts it into a :ref:`MDEventWorkspace ` that can be viewed in the :ref:`sliceviewer`. The algorithm currently only works for instruments with :ref:`rectangular detectors `. The coordinates of the output workspace are: - Pixel X coordinate (integer starting at 0) - Pixel Y coordinate (integer starting at 0) - The center of the bin of the spectrum in that pixel (e.g. time-of-flight) Each MDEvent created has a weight given by the number of counts in that bin. Zero bins are not converted to events (saving memory). Once created, the :ref:`MDEventWorkspace ` can be viewed in the :ref:`sliceviewer`. It can also be rebinned with different parameters using :ref:`algm-BinMD`. This allows you to view the data in detector-space. For example, you might use this feature to look at your detector's sensitivity as a function of position, as well as a function of TOF. You can also do line plots of the data. See this screenshot for example: .. figure:: /images/SliceViewer-DetectorFace.png :alt: SliceViewer-DetectorFace.png :align: center :width: 600 px SliceViewer-DetectorFace.png BankNumbers Parameter ##################### If your instrument has several :ref:`rectangular detectors `, you can use the *BankNumbers* property to specify which one(s) to convert. The algorithm looks for :ref:`rectangular detectors ` with the name 'bankXX' where XX is the bank number. If you specify more than one bank number, then the algorithm will create a 4D :ref:`MDEventWorkspace `. The fourth dimension will be equal to the bank number, allowing you to easily pick a bank to view. .. categories:: .. sourcelink::