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': [PyTango._PyTango.CmdArgType.DevLong64, 'Controller ID', [0]], 'Ctrl_id': [PyTango._PyTango.CmdArgType.DevLong64, 'Controller ID', [0]], 'Elements': [PyTango._PyTango.CmdArgType.DevVarStringArray, 'elements used by the pseudo', []], 'Force_HW_Read': [PyTango._PyTango.CmdArgType.DevBoolean, 'Force a hardware read of value even when in operation (motion/acquisition', False], 'Id': [PyTango._PyTango.CmdArgType.DevLong64, 'Internal ID', 0], 'DriftCorrection': [PyTango._PyTango.CmdArgType.DevBoolean, 'Locally apply drift correction on pseudo motors. Default is the current global drift correction in the Pool Device', None], 'Axis': [PyTango._PyTango.CmdArgType.DevLong64, 'Axis in the controller', [0]]}¶
-
cmd_list
= {'Restore': [[PyTango._PyTango.CmdArgType.DevVoid, ''], [PyTango._PyTango.CmdArgType.DevVoid, '']], 'CalcAllPseudo': [[PyTango._PyTango.CmdArgType.DevVarDoubleArray, 'physical positions'], [PyTango._PyTango.CmdArgType.DevVarDoubleArray, 'pseudo positions']], 'CalcPhysical': [[PyTango._PyTango.CmdArgType.DevDouble, 'pseudo position'], [PyTango._PyTango.CmdArgType.DevVarDoubleArray, 'physical positions']], 'Stop': [[PyTango._PyTango.CmdArgType.DevVoid, ''], [PyTango._PyTango.CmdArgType.DevVoid, '']], 'Abort': [[PyTango._PyTango.CmdArgType.DevVoid, ''], [PyTango._PyTango.CmdArgType.DevVoid, '']], 'MoveRelative': [[PyTango._PyTango.CmdArgType.DevDouble, 'amount to move'], [PyTango._PyTango.CmdArgType.DevVoid, '']], 'CalcAllPhysical': [[PyTango._PyTango.CmdArgType.DevVarDoubleArray, 'pseudo positions'], [PyTango._PyTango.CmdArgType.DevVarDoubleArray, 'physical positions']], 'CalcPseudo': [[PyTango._PyTango.CmdArgType.DevVarDoubleArray, 'physical positions'], [PyTango._PyTango.CmdArgType.DevDouble, 'pseudo position']]}¶
-
standard_attr_list
= {'Position': [[PyTango._PyTango.CmdArgType.DevDouble, PyTango._PyTango.AttrDataFormat.SCALAR, PyTango._PyTango.AttrWriteType.READ_WRITE], {'abs_change': '1.0', 'label': 'Position'}]}¶
-