Table Of Contents

Previous topic

TwoDExpChannel

Next topic

PseudoCounter

This Page

PseudoMotor

Classes

PseudoMotor

#.. inheritance-diagram:: PseudoMotor # :parts: 1

class PseudoMotor(dclass, name)[source]

Bases: sardana.tango.pool.PoolDevice.PoolElementDevice

init(name)[source]
get_pseudo_motor()[source]
set_pseudo_motor(pseudo_motor)[source]
pseudo_motor
delete_device(*args, **kwargs)[source]
init_device(*args, **kwargs)[source]
on_pseudo_motor_changed(event_source, event_type, event_value)[source]
always_executed_hook()[source]
read_attr_hardware(data)[source]
get_dynamic_attributes()[source]
initialize_dynamic_attributes()[source]
read_Position(attr)[source]
write_Position(attr)[source]
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

MoveRelative(argin)[source]
is_MoveRelative_allowed()[source]
is_Position_allowed(req_type)

PseudoMotorClass

#.. inheritance-diagram:: PseudoMotorClass # :parts: 1

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'}]}