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: Algorithms | Sample
C++ source: SetBeam.cpp (last modified: 2016-10-04)
C++ header: SetBeam.h (last modified: 2016-05-16)