Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | MatrixWorkspace | Mandatory | An input workspace with an attached instrument. |
Geometry | Input | Dictionary | A dictionary of geometry parameters for the beam |
Set properties of the beam on a given workspace. Current support is limited to specifying the beam geometry and only supports a slit geometry with given width and height.
The following Geometry flags are recognised by the algorithm:
ws = CreateSampleWorkspace()
SetBeam(ws, Geometry={'Shape': 'Slit', 'Width': 1.0, 'Height': 0.75})
Categories: AlgorithmIndex | Sample
C++ source: SetBeam.cpp (last modified: 2019-06-05)
C++ header: SetBeam.h (last modified: 2018-10-05)