PseudoMotor
¶
Classes
PseudoMotor¶

-
class
PseudoMotor
(dclass, name)[source]¶ Bases:
sardana.tango.pool.PoolDevice.PoolElementDevice
-
pseudo_motor
¶
-
CalcPseudo
(physical_positions)[source]¶ Returns the pseudo motor position for the given physical positions
-
CalcPhysical
(pseudo_position)[source]¶ Returns the physical motor positions for the given pseudo motor position assuming the current pseudo motor write positions for all the other sibling pseudo motors
-
CalcAllPhysical
(pseudo_positions)[source]¶ Returns the physical motor positions for the given pseudo motor position(s)
-
CalcAllPseudo
(physical_positions)[source]¶ Returns the pseudo motor position(s) for the given physical positions
-
is_Position_allowed
(req_type)¶
-
PseudoMotorClass¶

-
class
PseudoMotorClass
(name)[source]¶ Bases:
sardana.tango.pool.PoolDevice.PoolElementDeviceClass
-
class_property_list
= {}¶
-
device_property_list
= {'Instrument_id': [tango._tango.CmdArgType.DevLong64, 'Controller ID', [0]], 'Ctrl_id': [tango._tango.CmdArgType.DevLong64, 'Controller ID', [0]], 'Elements': [tango._tango.CmdArgType.DevVarStringArray, 'elements used by the pseudo', []], 'Force_HW_Read': [tango._tango.CmdArgType.DevBoolean, 'Force a hardware read of value even when in operation (motion/acquisition', False], 'Id': [tango._tango.CmdArgType.DevLong64, 'Internal ID', 0], 'DriftCorrection': [tango._tango.CmdArgType.DevBoolean, 'Locally apply drift correction on pseudo motors. Default is the current global drift correction in the Pool Device', None], 'Axis': [tango._tango.CmdArgType.DevLong64, 'Axis in the controller', [0]]}¶
-
cmd_list
= {'Restore': [[tango._tango.CmdArgType.DevVoid, ''], [tango._tango.CmdArgType.DevVoid, '']], 'CalcAllPseudo': [[tango._tango.CmdArgType.DevVarDoubleArray, 'physical positions'], [tango._tango.CmdArgType.DevVarDoubleArray, 'pseudo positions']], 'CalcPhysical': [[tango._tango.CmdArgType.DevDouble, 'pseudo position'], [tango._tango.CmdArgType.DevVarDoubleArray, 'physical positions']], 'Stop': [[tango._tango.CmdArgType.DevVoid, ''], [tango._tango.CmdArgType.DevVoid, '']], 'Abort': [[tango._tango.CmdArgType.DevVoid, ''], [tango._tango.CmdArgType.DevVoid, '']], 'MoveRelative': [[tango._tango.CmdArgType.DevDouble, 'amount to move'], [tango._tango.CmdArgType.DevVoid, '']], 'CalcAllPhysical': [[tango._tango.CmdArgType.DevVarDoubleArray, 'pseudo positions'], [tango._tango.CmdArgType.DevVarDoubleArray, 'physical positions']], 'CalcPseudo': [[tango._tango.CmdArgType.DevVarDoubleArray, 'physical positions'], [tango._tango.CmdArgType.DevDouble, 'pseudo position']]}¶
-
standard_attr_list
= {'Position': [[tango._tango.CmdArgType.DevDouble, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'abs_change': '1.0', 'label': 'Position'}]}¶
-