PseudoMotor
¶
Classes
PseudoMotor¶
-
class
PseudoMotor
(dclass, name)[source]¶ Bases:
sardana.tango.pool.PoolDevice.PoolElementDevice
-
init
(name)¶
-
get_pseudo_motor
()¶
-
set_pseudo_motor
(pseudo_motor)¶
-
pseudo_motor
¶
-
delete_device
(*args, **kwargs)¶
-
init_device
(*args, **kwargs)¶
-
on_pseudo_motor_changed
(event_source, event_type, event_value)¶
-
always_executed_hook
()¶
-
read_attr_hardware
(data)¶
-
get_dynamic_attributes
()¶
-
initialize_dynamic_attributes
()¶
-
read_Position
(attr)¶
-
write_Position
(attr)¶
-
CalcPseudo
(physical_positions)¶ Returns the pseudo motor position for the given physical positions
-
CalcPhysical
(pseudo_position)¶ 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)¶ Returns the physical motor positions for the given pseudo motor position(s)
-
CalcAllPseudo
(physical_positions)¶ Returns the pseudo motor position(s) for the given physical positions
-
MoveRelative
(argin)¶
-
is_MoveRelative_allowed
()¶
-
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'}]}¶
-