sardanadefs

This module contains the most generic sardana constants and enumerations

Constants

EpsilonError = 1e-16

maximum difference between two floats so that they are considered equal

InvalidId = 0

A constant representing an invalid ID

InvalidAxis = 0

A constant representing an invalid axis

TYPE_ELEMENTS = set([<_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>])

a set containning all “controllable” element types. Constant values belong to ElementType

TYPE_GROUP_ELEMENTS = set([<_mock._Mock object>, <_mock._Mock object>])

a set containing all group element types. Constant values belong to ElementType

TYPE_MOVEABLE_ELEMENTS = set([<_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>])

a set containing the type of elements which are moveable. Constant values belong to ElementType

TYPE_PHYSICAL_ELEMENTS = set([<_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>])

a set containing the possible types of physical elements. Constant values belong to ElementType

TYPE_ACQUIRABLE_ELEMENTS = set([<_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>, <_mock._Mock object>])

a set containing the possible types of acquirable elements. Constant values belong to ElementType

TYPE_PSEUDO_ELEMENTS = set([<_mock._Mock object>, <_mock._Mock object>])

a set containing the possible types of pseudo elements. Constant values belong to ElementType

SardanaServer = SardanaServer()

the global object containing the SardanaServer information

Enumerations

ServerRunMode = <taurus.core.util.enumeration.Enumeration object>
State = <taurus.core.util.enumeration.Enumeration object>
DataType = <taurus.core.util.enumeration.Enumeration object>
DataFormat = <taurus.core.util.enumeration.Enumeration object>
DataAccess = <taurus.core.util.enumeration.Enumeration object>
ElementType = <taurus.core.util.enumeration.Enumeration object>
Interface = <taurus.core.util.enumeration.Enumeration object>
Interfaces = {<_mock._Mock object at 0x7fc23e870510>: set([<_mock._Mock object at 0x7fc23e870590>]), <_mock._Mock object at 0x7fc23e870550>: set([<_mock._Mock object at 0x7fc23e870690>, <_mock._Mock object at 0x7fc23e8706d0>]), <_mock._Mock object at 0x7fc23e870650>: set([<_mock._Mock object at 0x7fc23e870950>]), <_mock._Mock object at 0x7fc23e870910>: set([<_mock._Mock object at 0x7fc23e870b90>]), <_mock._Mock object at 0x7fc23e870b50>: set([<_mock._Mock object at 0x7fc23e870d50>]), <_mock._Mock object at 0x7fc23e870d10>: set([<_mock._Mock object at 0x7fc23e870e90>]), <_mock._Mock object at 0x7fc23e870e50>: set([<_mock._Mock object at 0x7fc23e87e090>]), <_mock._Mock object at 0x7fc23e87a1d0>: set([<_mock._Mock object at 0x7fc23e87a490>, <_mock._Mock object at 0x7fc23e87a450>]), <_mock._Mock object at 0x7fc23e87a410>: set([<_mock._Mock object at 0x7fc23e87a610>]), <_mock._Mock object at 0x7fc23e87a5d0>: set([<_mock._Mock object at 0x7fc23e87a810>, <_mock._Mock object at 0x7fc23e87a7d0>]), <_mock._Mock object at 0x7fc23e87a790>: set([<_mock._Mock object at 0x7fc23e87aa50>]), <_mock._Mock object at 0x7fc23e87aa10>: set([<_mock._Mock object at 0x7fc23e87ab90>, <_mock._Mock object at 0x7fc23e87ab50>]), <_mock._Mock object at 0x7fc23e87ab10>: set([<_mock._Mock object at 0x7fc23e87ad10>]), <_mock._Mock object at 0x7fc23e87acd0>: set([<_mock._Mock object at 0x7fc23e87aed0>]), <_mock._Mock object at 0x7fc23e87ae90>: set([<_mock._Mock object at 0x7fc23e87c0d0>]), <_mock._Mock object at 0x7fc23e87c090>: set([]), <_mock._Mock object at 0x7fc23e87c250>: set([<_mock._Mock object at 0x7fc23e87c310>]), <_mock._Mock object at 0x7fc23e87c2d0>: set([<_mock._Mock object at 0x7fc23e87c410>]), <_mock._Mock object at 0x7fc23e87c3d0>: set([<_mock._Mock object at 0x7fc23e87c510>, <_mock._Mock object at 0x7fc23e87c550>]), <_mock._Mock object at 0x7fc23e87c4d0>: set([<_mock._Mock object at 0x7fc23e87c6d0>]), <_mock._Mock object at 0x7fc23e87c690>: set([<_mock._Mock object at 0x7fc23e87c7d0>]), <_mock._Mock object at 0x7fc23e87c790>: set([]), <_mock._Mock object at 0x7fc23e87c950>: set([<_mock._Mock object at 0x7fc23e87ca10>]), <_mock._Mock object at 0x7fc23e87c9d0>: set([<_mock._Mock object at 0x7fc23e87cc10>, <_mock._Mock object at 0x7fc23e87cbd0>]), <_mock._Mock object at 0x7fc23e87cb90>: set([<_mock._Mock object at 0x7fc23e87ce50>]), <_mock._Mock object at 0x7fc23e87ce10>: set([<_mock._Mock object at 0x7fc23e87f090>, <_mock._Mock object at 0x7fc23e87f050>]), <_mock._Mock object at 0x7fc23e87cfd0>: set([<_mock._Mock object at 0x7fc23e87f290>, <_mock._Mock object at 0x7fc23e87f250>]), <_mock._Mock object at 0x7fc23e87e050>: set([<_mock._Mock object at 0x7fc23e87e310>, <_mock._Mock object at 0x7fc23e87e2d0>]), <_mock._Mock object at 0x7fc23e87e290>: set([<_mock._Mock object at 0x7fc23e87e490>]), <_mock._Mock object at 0x7fc23e87e450>: set([<_mock._Mock object at 0x7fc23e87e690>]), <_mock._Mock object at 0x7fc23e87e650>: set([<_mock._Mock object at 0x7fc23e87e790>]), <_mock._Mock object at 0x7fc23e87e750>: set([<_mock._Mock object at 0x7fc23e87e990>]), <_mock._Mock object at 0x7fc23e87e950>: set([<_mock._Mock object at 0x7fc23e87eb50>]), <_mock._Mock object at 0x7fc23e87eb10>: set([<_mock._Mock object at 0x7fc23e87ec90>]), <_mock._Mock object at 0x7fc23e87ec50>: set([<_mock._Mock object at 0x7fc23e87eed0>]), <_mock._Mock object at 0x7fc23e87ee90>: set([<_mock._Mock object at 0x7fc23e87efd0>, <_mock._Mock object at 0x7fc23e87a050>]), <_mock._Mock object at 0x7fc23e87ef90>: set([<_mock._Mock object at 0x7fc23e87a210>]), <_mock._Mock object at 0x7fc23e87f210>: set([<_mock._Mock object at 0x7fc23e87f410>]), <_mock._Mock object at 0x7fc23e87f3d0>: set([<_mock._Mock object at 0x7fc23e87f510>]), <_mock._Mock object at 0x7fc23e87f4d0>: set([<_mock._Mock object at 0x7fc23e87f6d0>])}

a dictionary containing the direct interfaces supported by each type (dict <sardana.sardanadefs.Interface, set < sardana.sardanadefs.Interface> >)

InterfacesExpanded = {<_mock._Mock object at 0x7fc23e870510>: set([<_mock._Mock object at 0x7fc23e870610>, <_mock._Mock object at 0x7fc23e8705d0>]), <_mock._Mock object at 0x7fc23e870550>: set([<_mock._Mock object at 0x7fc23e870810>, <_mock._Mock object at 0x7fc23e870850>, <_mock._Mock object at 0x7fc23e870890>, <_mock._Mock object at 0x7fc23e8708d0>, <_mock._Mock object at 0x7fc23e870710>, <_mock._Mock object at 0x7fc23e870750>, <_mock._Mock object at 0x7fc23e870790>, <_mock._Mock object at 0x7fc23e8707d0>]), <_mock._Mock object at 0x7fc23e870650>: set([<_mock._Mock object at 0x7fc23e870a10>, <_mock._Mock object at 0x7fc23e870a50>, <_mock._Mock object at 0x7fc23e870a90>, <_mock._Mock object at 0x7fc23e870ad0>, <_mock._Mock object at 0x7fc23e870b10>, <_mock._Mock object at 0x7fc23e870990>, <_mock._Mock object at 0x7fc23e8709d0>]), <_mock._Mock object at 0x7fc23e870910>: set([<_mock._Mock object at 0x7fc23e870c10>, <_mock._Mock object at 0x7fc23e870c90>, <_mock._Mock object at 0x7fc23e870cd0>, <_mock._Mock object at 0x7fc23e870bd0>, <_mock._Mock object at 0x7fc23e870c50>]), <_mock._Mock object at 0x7fc23e870b50>: set([<_mock._Mock object at 0x7fc23e870d90>, <_mock._Mock object at 0x7fc23e870dd0>, <_mock._Mock object at 0x7fc23e870e10>]), <_mock._Mock object at 0x7fc23e870d10>: set([<_mock._Mock object at 0x7fc23e870f10>, <_mock._Mock object at 0x7fc23e870f90>, <_mock._Mock object at 0x7fc23e870fd0>, <_mock._Mock object at 0x7fc23e870ed0>, <_mock._Mock object at 0x7fc23e870f50>]), <_mock._Mock object at 0x7fc23e870e50>: set([<_mock._Mock object at 0x7fc23e87e210>, <_mock._Mock object at 0x7fc23e87e250>, <_mock._Mock object at 0x7fc23e87e0d0>, <_mock._Mock object at 0x7fc23e87e110>, <_mock._Mock object at 0x7fc23e87e150>, <_mock._Mock object at 0x7fc23e87e190>, <_mock._Mock object at 0x7fc23e87e1d0>]), <_mock._Mock object at 0x7fc23e87a1d0>: set([<_mock._Mock object at 0x7fc23e87a510>, <_mock._Mock object at 0x7fc23e87a4d0>, <_mock._Mock object at 0x7fc23e87a590>, <_mock._Mock object at 0x7fc23e87a550>]), <_mock._Mock object at 0x7fc23e87a410>: set([<_mock._Mock object at 0x7fc23e87a690>, <_mock._Mock object at 0x7fc23e87a710>, <_mock._Mock object at 0x7fc23e87a750>, <_mock._Mock object at 0x7fc23e87a650>, <_mock._Mock object at 0x7fc23e87a6d0>]), <_mock._Mock object at 0x7fc23e87a5d0>: set([<_mock._Mock object at 0x7fc23e87a850>, <_mock._Mock object at 0x7fc23e87a890>, <_mock._Mock object at 0x7fc23e87a8d0>, <_mock._Mock object at 0x7fc23e87a910>, <_mock._Mock object at 0x7fc23e87a950>, <_mock._Mock object at 0x7fc23e87a990>, <_mock._Mock object at 0x7fc23e87a9d0>]), <_mock._Mock object at 0x7fc23e87a790>: set([<_mock._Mock object at 0x7fc23e87aa90>, <_mock._Mock object at 0x7fc23e87aad0>]), <_mock._Mock object at 0x7fc23e87aa10>: set([<_mock._Mock object at 0x7fc23e87ac10>, <_mock._Mock object at 0x7fc23e87ac90>, <_mock._Mock object at 0x7fc23e87abd0>, <_mock._Mock object at 0x7fc23e87ac50>]), <_mock._Mock object at 0x7fc23e87ab10>: set([<_mock._Mock object at 0x7fc23e87ad90>, <_mock._Mock object at 0x7fc23e87ae10>, <_mock._Mock object at 0x7fc23e87ad50>, <_mock._Mock object at 0x7fc23e87ae50>, <_mock._Mock object at 0x7fc23e87add0>]), <_mock._Mock object at 0x7fc23e87acd0>: set([<_mock._Mock object at 0x7fc23e87af10>, <_mock._Mock object at 0x7fc23e87afd0>, <_mock._Mock object at 0x7fc23e87c050>, <_mock._Mock object at 0x7fc23e87af50>, <_mock._Mock object at 0x7fc23e87af90>]), <_mock._Mock object at 0x7fc23e87ae90>: set([<_mock._Mock object at 0x7fc23e87c110>, <_mock._Mock object at 0x7fc23e87c1d0>, <_mock._Mock object at 0x7fc23e87c150>, <_mock._Mock object at 0x7fc23e87c210>, <_mock._Mock object at 0x7fc23e87c190>]), <_mock._Mock object at 0x7fc23e87c090>: set([<_mock._Mock object at 0x7fc23e87c290>]), <_mock._Mock object at 0x7fc23e87c250>: set([<_mock._Mock object at 0x7fc23e87c390>, <_mock._Mock object at 0x7fc23e87c350>]), <_mock._Mock object at 0x7fc23e87c2d0>: set([<_mock._Mock object at 0x7fc23e87c490>, <_mock._Mock object at 0x7fc23e87c450>]), <_mock._Mock object at 0x7fc23e87c3d0>: set([<_mock._Mock object at 0x7fc23e87c590>, <_mock._Mock object at 0x7fc23e87c650>, <_mock._Mock object at 0x7fc23e87c5d0>, <_mock._Mock object at 0x7fc23e87c610>]), <_mock._Mock object at 0x7fc23e87c4d0>: set([<_mock._Mock object at 0x7fc23e87c710>, <_mock._Mock object at 0x7fc23e87c750>]), <_mock._Mock object at 0x7fc23e87c690>: set([<_mock._Mock object at 0x7fc23e87c8d0>, <_mock._Mock object at 0x7fc23e87c810>, <_mock._Mock object at 0x7fc23e87c910>, <_mock._Mock object at 0x7fc23e87c850>, <_mock._Mock object at 0x7fc23e87c890>]), <_mock._Mock object at 0x7fc23e87c790>: set([<_mock._Mock object at 0x7fc23e87c990>]), <_mock._Mock object at 0x7fc23e87c950>: set([<_mock._Mock object at 0x7fc23e87ca90>, <_mock._Mock object at 0x7fc23e87cb10>, <_mock._Mock object at 0x7fc23e87cb50>, <_mock._Mock object at 0x7fc23e87ca50>, <_mock._Mock object at 0x7fc23e87cad0>]), <_mock._Mock object at 0x7fc23e87c9d0>: set([<_mock._Mock object at 0x7fc23e87cc50>, <_mock._Mock object at 0x7fc23e87cc90>, <_mock._Mock object at 0x7fc23e87ccd0>, <_mock._Mock object at 0x7fc23e87cd10>, <_mock._Mock object at 0x7fc23e87cd50>, <_mock._Mock object at 0x7fc23e87cd90>, <_mock._Mock object at 0x7fc23e87cdd0>]), <_mock._Mock object at 0x7fc23e87cb90>: set([<_mock._Mock object at 0x7fc23e87ce90>, <_mock._Mock object at 0x7fc23e87cf50>, <_mock._Mock object at 0x7fc23e87cf90>, <_mock._Mock object at 0x7fc23e87ced0>, <_mock._Mock object at 0x7fc23e87cf10>]), <_mock._Mock object at 0x7fc23e87ce10>: set([<_mock._Mock object at 0x7fc23e87f1d0>, <_mock._Mock object at 0x7fc23e87f110>, <_mock._Mock object at 0x7fc23e87f190>, <_mock._Mock object at 0x7fc23e87f0d0>, <_mock._Mock object at 0x7fc23e87f150>]), <_mock._Mock object at 0x7fc23e87cfd0>: set([<_mock._Mock object at 0x7fc23e87f310>, <_mock._Mock object at 0x7fc23e87f2d0>, <_mock._Mock object at 0x7fc23e87f390>, <_mock._Mock object at 0x7fc23e87f350>]), <_mock._Mock object at 0x7fc23e87e050>: set([<_mock._Mock object at 0x7fc23e87e390>, <_mock._Mock object at 0x7fc23e87e350>, <_mock._Mock object at 0x7fc23e87e410>, <_mock._Mock object at 0x7fc23e87e3d0>]), <_mock._Mock object at 0x7fc23e87e290>: set([<_mock._Mock object at 0x7fc23e87e610>, <_mock._Mock object at 0x7fc23e87e4d0>, <_mock._Mock object at 0x7fc23e87e510>, <_mock._Mock object at 0x7fc23e87e550>, <_mock._Mock object at 0x7fc23e87e590>, <_mock._Mock object at 0x7fc23e87e5d0>]), <_mock._Mock object at 0x7fc23e87e450>: set([<_mock._Mock object at 0x7fc23e87e710>, <_mock._Mock object at 0x7fc23e87e6d0>]), <_mock._Mock object at 0x7fc23e87e650>: set([<_mock._Mock object at 0x7fc23e87e810>, <_mock._Mock object at 0x7fc23e87e850>, <_mock._Mock object at 0x7fc23e87e890>, <_mock._Mock object at 0x7fc23e87e8d0>, <_mock._Mock object at 0x7fc23e87e910>, <_mock._Mock object at 0x7fc23e87e7d0>]), <_mock._Mock object at 0x7fc23e87e750>: set([<_mock._Mock object at 0x7fc23e87ea10>, <_mock._Mock object at 0x7fc23e87ea90>, <_mock._Mock object at 0x7fc23e87ead0>, <_mock._Mock object at 0x7fc23e87e9d0>, <_mock._Mock object at 0x7fc23e87ea50>]), <_mock._Mock object at 0x7fc23e87e950>: set([<_mock._Mock object at 0x7fc23e87eb90>, <_mock._Mock object at 0x7fc23e87ebd0>, <_mock._Mock object at 0x7fc23e87ec10>]), <_mock._Mock object at 0x7fc23e87eb10>: set([<_mock._Mock object at 0x7fc23e87ee10>, <_mock._Mock object at 0x7fc23e87ee50>, <_mock._Mock object at 0x7fc23e87ecd0>, <_mock._Mock object at 0x7fc23e87ed10>, <_mock._Mock object at 0x7fc23e87ed50>, <_mock._Mock object at 0x7fc23e87ed90>, <_mock._Mock object at 0x7fc23e87edd0>]), <_mock._Mock object at 0x7fc23e87ec50>: set([<_mock._Mock object at 0x7fc23e87ef10>, <_mock._Mock object at 0x7fc23e87ef50>]), <_mock._Mock object at 0x7fc23e87ee90>: set([<_mock._Mock object at 0x7fc23e87a090>, <_mock._Mock object at 0x7fc23e87a190>, <_mock._Mock object at 0x7fc23e87a150>, <_mock._Mock object at 0x7fc23e87a0d0>, <_mock._Mock object at 0x7fc23e87a110>]), <_mock._Mock object at 0x7fc23e87ef90>: set([<_mock._Mock object at 0x7fc23e87a250>, <_mock._Mock object at 0x7fc23e87a290>, <_mock._Mock object at 0x7fc23e87a2d0>, <_mock._Mock object at 0x7fc23e87a310>, <_mock._Mock object at 0x7fc23e87a350>, <_mock._Mock object at 0x7fc23e87a390>, <_mock._Mock object at 0x7fc23e87a3d0>]), <_mock._Mock object at 0x7fc23e87f210>: set([<_mock._Mock object at 0x7fc23e87f490>, <_mock._Mock object at 0x7fc23e87f450>]), <_mock._Mock object at 0x7fc23e87f3d0>: set([<_mock._Mock object at 0x7fc23e87f650>, <_mock._Mock object at 0x7fc23e87f590>, <_mock._Mock object at 0x7fc23e87f610>, <_mock._Mock object at 0x7fc23e87f550>, <_mock._Mock object at 0x7fc23e87f5d0>]), <_mock._Mock object at 0x7fc23e87f4d0>: set([<_mock._Mock object at 0x7fc23e87f810>, <_mock._Mock object at 0x7fc23e87f850>, <_mock._Mock object at 0x7fc23e87f890>, <_mock._Mock object at 0x7fc23e87f710>, <_mock._Mock object at 0x7fc23e87f750>, <_mock._Mock object at 0x7fc23e87f790>, <_mock._Mock object at 0x7fc23e87f7d0>])}

a dictionary containing the all interfaces supported by each type. (dict <sardana.sardanadefs.Interface, set < sardana.sardanadefs.Interface> >)

INTERFACES = {'Acquirable': (set(['PoolElement']), 'An acquirable element'), 'CTExpChannel': (set(['ExpChannel']), 'A counter/timer experimental channel'), 'Class': (set(['Object']), 'A generic sardana class'), 'ComChannel': (set(['PoolElement']), 'A communication channel'), 'Constraint': (set(['PoolObject']), 'A constraint'), 'Controller': (set(['PoolElement']), 'A controller'), 'ControllerClass': (set(['Class', 'PoolObject']), 'A controller class'), 'ControllerLibrary': (set(['PoolObject', 'Library']), 'A controller library'), 'Door': (set(['MacroServerElement']), 'A macro server door'), 'Element': (set(['Object']), 'A generic sardana element'), 'ExpChannel': (set(['Acquirable']), 'A generic experimental channel'), 'External': (set(['Object']), 'An external object'), 'Function': (set(['Object']), 'A generic sardana function'), 'IORegister': (set(['Acquirable']), 'An IO register'), 'Instrument': (set(['PoolElement']), 'An instrument'), 'Library': (set(['Object']), 'A generic sardana library'), 'Macro': (set(['MacroFunction', 'MacroClass']), 'A macro server macro'), 'MacroClass': (set(['MacroCode', 'Class']), 'A macro server macro class'), 'MacroCode': (set(['MacroServerObject']), 'A macro server macro code'), 'MacroFunction': (set(['Function', 'MacroCode']), 'A macro server macro function'), 'MacroLibrary': (set(['MacroServerObject', 'Library']), 'A macro server library'), 'MacroServer': (set(['MacroServerElement']), 'A MacroServer'), 'MacroServerElement': (set(['MacroServerObject', 'Element']), 'A generic macro server element'), 'MacroServerObject': (set(['Object']), 'A generic macro server object'), 'MeasurementGroup': (set(['PoolElement']), 'A measurement group'), 'Meta': (set([]), 'A generic sardana meta object'), 'Motor': (set(['Acquirable', 'Moveable']), 'a motor'), 'MotorGroup': (set(['PoolElement']), 'A motor group'), 'Moveable': (set(['PoolElement']), 'A moveable element'), 'Object': (set([]), 'A generic sardana object'), 'OneDExpChannel': (set(['ExpChannel']), 'A 1D experimental channel'), 'ParameterType': (set(['Meta']), 'A generic macro server parameter type'), 'Pool': (set(['PoolElement']), 'A Pool'), 'PoolElement': (set(['PoolObject', 'Element']), 'A Pool element'), 'PoolObject': (set(['Object']), 'A Pool object'), 'PseudoCounter': (set(['ExpChannel']), 'A pseudo counter'), 'PseudoMotor': (set(['Acquirable', 'Moveable']), 'A pseudo motor'), 'TriggerGate': (set(['PoolElement']), 'A trigger/gate'), 'TwoDExpChannel': (set(['ExpChannel']), 'A 2D experimental channel'), 'ZeroDExpChannel': (set(['ExpChannel']), 'A 0D experimental channel')}

a dictionary containing the direct interfaces supported by each type (dict<str, tuple<set<str, str>>>)

INTERFACES_EXPANDED = {'Acquirable': (set(['PoolElement', 'Object', 'Acquirable', 'PoolObject', 'Element']), 'An acquirable element'), 'CTExpChannel': (set(['ExpChannel', 'PoolObject', 'CTExpChannel', 'Acquirable', 'PoolElement', 'Object', 'Element']), 'A counter/timer experimental channel'), 'Class': (set(['Object', 'Class']), 'A generic sardana class'), 'ComChannel': (set(['PoolElement', 'Object', 'PoolObject', 'ComChannel', 'Element']), 'A communication channel'), 'Constraint': (set(['Object', 'PoolObject', 'Constraint']), 'A constraint'), 'Controller': (set(['PoolElement', 'Controller', 'Object', 'PoolObject', 'Element']), 'A controller'), 'ControllerClass': (set(['ControllerClass', 'Object', 'Class', 'PoolObject']), 'A controller class'), 'ControllerLibrary': (set(['ControllerLibrary', 'Object', 'PoolObject', 'Library']), 'A controller library'), 'Door': (set(['MacroServerElement', 'Object', 'Door', 'MacroServerObject', 'Element']), 'A macro server door'), 'Element': (set(['Object', 'Element']), 'A generic sardana element'), 'ExpChannel': (set(['ExpChannel', 'PoolObject', 'PoolElement', 'Acquirable', 'Object', 'Element']), 'A generic experimental channel'), 'External': (set(['Object', 'External']), 'An external object'), 'Function': (set(['Function', 'Object']), 'A generic sardana function'), 'IORegister': (set(['PoolObject', 'PoolElement', 'Acquirable', 'Object', 'IORegister', 'Element']), 'An IO register'), 'Instrument': (set(['Instrument', 'PoolElement', 'Object', 'PoolObject', 'Element']), 'An instrument'), 'Library': (set(['Object', 'Library']), 'A generic sardana library'), 'Macro': (set(['Function', 'Macro', 'Object', 'Class', 'MacroCode', 'MacroFunction', 'MacroServerObject', 'MacroClass']), 'A macro server macro'), 'MacroClass': (set(['MacroCode', 'Object', 'Class', 'MacroClass', 'MacroServerObject']), 'A macro server macro class'), 'MacroCode': (set(['MacroCode', 'Object', 'MacroServerObject']), 'A macro server macro code'), 'MacroFunction': (set(['Function', 'MacroCode', 'MacroFunction', 'Object', 'MacroServerObject']), 'A macro server macro function'), 'MacroLibrary': (set(['MacroLibrary', 'Object', 'MacroServerObject', 'Library']), 'A macro server library'), 'MacroServer': (set(['MacroServerElement', 'Object', 'MacroServerObject', 'MacroServer', 'Element']), 'A MacroServer'), 'MacroServerElement': (set(['MacroServerElement', 'Object', 'MacroServerObject', 'Element']), 'A generic macro server element'), 'MacroServerObject': (set(['Object', 'MacroServerObject']), 'A generic macro server object'), 'MeasurementGroup': (set(['PoolElement', 'Object', 'PoolObject', 'MeasurementGroup', 'Element']), 'A measurement group'), 'Meta': (set(['Meta']), 'A generic sardana meta object'), 'Motor': (set(['Acquirable', 'Object', 'Element', 'PoolObject', 'Motor', 'Moveable', 'PoolElement']), 'a motor'), 'MotorGroup': (set(['PoolElement', 'MotorGroup', 'Object', 'PoolObject', 'Element']), 'A motor group'), 'Moveable': (set(['PoolElement', 'Object', 'Moveable', 'PoolObject', 'Element']), 'A moveable element'), 'Object': (set(['Object']), 'A generic sardana object'), 'OneDExpChannel': (set(['ExpChannel', 'OneDExpChannel', 'PoolObject', 'Acquirable', 'PoolElement', 'Object', 'Element']), 'A 1D experimental channel'), 'ParameterType': (set(['ParameterType', 'Meta']), 'A generic macro server parameter type'), 'Pool': (set(['PoolElement', 'Object', 'PoolObject', 'Pool', 'Element']), 'A Pool'), 'PoolElement': (set(['PoolElement', 'Object', 'PoolObject', 'Element']), 'A Pool element'), 'PoolObject': (set(['Object', 'PoolObject']), 'A Pool object'), 'PseudoCounter': (set(['ExpChannel', 'PoolObject', 'PseudoCounter', 'Acquirable', 'PoolElement', 'Object', 'Element']), 'A pseudo counter'), 'PseudoMotor': (set(['Acquirable', 'Object', 'Element', 'PoolObject', 'Moveable', 'PoolElement', 'PseudoMotor']), 'A pseudo motor'), 'TriggerGate': (set(['PoolElement', 'TriggerGate', 'Object', 'PoolObject', 'Element']), 'A trigger/gate'), 'TwoDExpChannel': (set(['ExpChannel', 'PoolObject', 'Acquirable', 'PoolElement', 'TwoDExpChannel', 'Object', 'Element']), 'A 2D experimental channel'), 'ZeroDExpChannel': (set(['ExpChannel', 'ZeroDExpChannel', 'PoolObject', 'Acquirable', 'PoolElement', 'Object', 'Element']), 'A 0D experimental channel')}

a dictionary containing the all interfaces supported by each type (dict <str, set < str> >)

Functions

from_dtype_str(dtype)[source]

Transforms the given dtype parameter (string/DataType or None) into a tuple of two elements (str, DataFormat) where the first element is a string with a simplified data type.

  • If None is given, it returns (‘float’, DataFormat.Scalar)
  • If DataType is given, it returns (DataType, DataFormat.Scalar)
Parameters:dtype (str or None or DataType) – the data type to be transformed
Returns:a tuple <str, DataFormat> for the given dtype
Return type:tuple<str, DataFormat>
from_access_str(access)[source]

Transforms the given access parameter (string or DataAccess) into a simplified data access string.

Parameters:dtype (str) – the access to be transformed
Returns:a simple string for the given access
Return type:str
to_dtype_dformat(data)[source]

Transforms the given data parameter (string/ or sequence of string or sequence of sequence of string/DataType) into a tuple of two elements (DataType, DataFormat).

Parameters:data (str or seq<str> or seq<seq<str>>) – the data information to be transformed
Returns:a tuple <DataType, DataFormat> for the given data
Return type:tuple<DataType, DataFormat>
to_daccess(daccess)[source]

Transforms the given access parameter (string or None) into a DataAccess. If None is given returns DataAccess.ReadWrite

Parameters:dtype (str) – the access to be transformed
Returns:a DataAccess for the given access
Return type:DataAccess