Bases: Moveable
A rectangular slit consisting of four blades.
The slit can operate in four “opmodes”, controlled by the opmode parameter:
Normally, the right and left as well as the bottom and top devices need to share a common coordinate system, i.e. when right.read() == left.read() the slit is closed. A different convention can be selected when setting coordinates to "opposite": in this case, the blades meet at coordinate 0, and both move in positive direction when they open.
All instances have attributes controlling single dimensions that can be used as devices, for example in scans. These attributes are:
Example usage:
>>> move(slit.centerx, 5) # move slit center
>>> scan(slit.width, 0, 1, 6) # scan over slit width from 0 to 5 mm
Attached devices
Bottom blade. Type: HasPrecision.
Left blade. Type: HasPrecision.
Right blade. Type: HasPrecision.
Top blade. Type: HasPrecision.
Parameters
Coordinate convention for left/right and top/bottom blades. Default value: 'equal'.
Mode of operation for the slit. Default value: '4blades'.
Parameters inherited from the base classes: description, fixed, fmtstr, loglevel, lowlevel, maxage, pollinterval, target, unit