PseudoMotor

Classes

PseudoMotor

Inheritance diagram of PseudoMotor

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
init_device
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 of PseudoMotorClass

class PseudoMotorClass(name)[source]

Bases: sardana.tango.pool.PoolDevice.PoolElementDeviceClass

class_property_list = {}
device_property_list = {'Instrument_id': [<_mock._Mock object at 0x7f10bca3ad90>, 'Controller ID', [0]], 'Ctrl_id': [<_mock._Mock object at 0x7f10bca3ad90>, 'Controller ID', [0]], 'Elements': [<_mock._Mock object at 0x7f10bca3b1d0>, 'elements used by the pseudo', []], 'Force_HW_Read': [<_mock._Mock object at 0x7f10bca3ac10>, 'Force a hardware read of value even when in operation (motion/acquisition', False], 'Id': [<_mock._Mock object at 0x7f10bca3ad90>, 'Internal ID', 0], 'DriftCorrection': [<_mock._Mock object at 0x7f10bca3ac10>, 'Locally apply drift correction on pseudo motors. Default is the current global drift correction in the Pool Device', None], 'Axis': [<_mock._Mock object at 0x7f10bca3ad90>, 'Axis in the controller', [0]]}
cmd_list = {'Restore': [[<_mock._Mock object at 0x7f10bca3b2d0>, ''], [<_mock._Mock object at 0x7f10bca3b2d0>, '']], 'CalcAllPseudo': [[<_mock._Mock object at 0x7f10bca3afd0>, 'physical positions'], [<_mock._Mock object at 0x7f10bca3afd0>, 'pseudo positions']], 'CalcPhysical': [[<_mock._Mock object at 0x7f10bca3ac50>, 'pseudo position'], [<_mock._Mock object at 0x7f10bca3afd0>, 'physical positions']], 'Stop': [[<_mock._Mock object at 0x7f10bca3b2d0>, ''], [<_mock._Mock object at 0x7f10bca3b2d0>, '']], 'Abort': [[<_mock._Mock object at 0x7f10bca3b2d0>, ''], [<_mock._Mock object at 0x7f10bca3b2d0>, '']], 'MoveRelative': [[<_mock._Mock object at 0x7f10bca3ac50>, 'amount to move'], [<_mock._Mock object at 0x7f10bca3b2d0>, '']], 'CalcAllPhysical': [[<_mock._Mock object at 0x7f10bca3afd0>, 'pseudo positions'], [<_mock._Mock object at 0x7f10bca3afd0>, 'physical positions']], 'CalcPseudo': [[<_mock._Mock object at 0x7f10bca3afd0>, 'physical positions'], [<_mock._Mock object at 0x7f10bca3ac50>, 'pseudo position']]}
standard_attr_list = {'Position': [[<_mock._Mock object at 0x7f10bca3ac50>, <_mock._Mock object at 0x7f10bca3b450>, <_mock._Mock object at 0x7f10bca3b410>], {'abs_change': '1.0', 'label': 'Position'}]}