These classes are not for direct use as an instrument component, but for deriving custom device classes from them. They extend the base classes in nicos.core.device, which are also abstract, but are a little more concrete.
Bases: HasPrecision, Readable
Base class for all coders.
User methods
Sets the current position of the controller to the target.
Parameters inherited from the base classes: description, fmtstr, loglevel, lowlevel, maxage, pollinterval, precision, unit
Bases: HasLimits, Moveable, Coder, HasPrecision
Base class for all motors.
This class inherits from Coder since a Motor can be used instead of a true encoder to supply the current position to an Axis.
Parameters
The motor speed. Default value: 0.0. Unit: main/s.
Parameters inherited from the base classes: abslimits, description, fixed, fmtstr, loglevel, lowlevel, maxage, pollinterval, precision, target, unit, userlimits
Bases: HasLimits, HasOffset, HasPrecision, Moveable
Base class for all axes.
Parameters
The maximum allowed backlash. Default value: 0.0. Unit: same as device value.
The so called ‘Schleppfehler’ of the axis. Default value: 1. Unit: same as device value.
The sleep time when checking the movement. Default value: 0.29999999999999999. Unit: s.
Number of tries to reach the target. Default value: 3.
Parameters inherited from the base classes: abslimits, description, fixed, fmtstr, loglevel, lowlevel, maxage, offset, pollinterval, precision, target, unit, userlimits
Bases: Device, NeedsDatapath
Mixin for detectors that store images in their own directory.
Parameters
File name of the last measurement. Default value: ''.
File number of the last measurement. Default value: 0.
Template for data file names. Default value: '%08d.dat'.
Subdirectory name for the image files.
Parameters inherited from the base classes: datapath, description, loglevel, lowlevel
Bases: Measurable
Base class for a detector that needs to execute code during measurement.
Parameters inherited from the base classes: description, fmtstr, loglevel, lowlevel, maxage, pollinterval, unit
Enter search terms or a module, class or function name.