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 at 0x7f1b874ef610>, <_mock._Mock object at 0x7f1b874ef650>, <_mock._Mock object at 0x7f1b874ef810>, <_mock._Mock object at 0x7f1b874ef690>, <_mock._Mock object at 0x7f1b874ef6d0>, <_mock._Mock object at 0x7f1b874ef710>, <_mock._Mock object at 0x7f1b874ef750>, <_mock._Mock object at 0x7f1b874ef890>, <_mock._Mock object at 0x7f1b874ef790>, <_mock._Mock object at 0x7f1b874ef7d0>, <_mock._Mock object at 0x7f1b874ef850>])¶ a set containning all “controllable” element types. Constant values belong to
ElementType
-
TYPE_GROUP_ELEMENTS= set([<_mock._Mock object at 0x7f1b874ef910>, <_mock._Mock object at 0x7f1b874ef8d0>])¶ a set containing all group element types. Constant values belong to
ElementType
-
TYPE_MOVEABLE_ELEMENTS= set([<_mock._Mock object at 0x7f1b874ef990>, <_mock._Mock object at 0x7f1b874ef950>, <_mock._Mock object at 0x7f1b874ef9d0>])¶ a set containing the type of elements which are moveable. Constant values belong to
ElementType
-
TYPE_PHYSICAL_ELEMENTS= set([<_mock._Mock object at 0x7f1b874efa10>, <_mock._Mock object at 0x7f1b874efa50>, <_mock._Mock object at 0x7f1b874efa90>, <_mock._Mock object at 0x7f1b874efad0>, <_mock._Mock object at 0x7f1b874efb10>, <_mock._Mock object at 0x7f1b874efb50>, <_mock._Mock object at 0x7f1b874efb90>, <_mock._Mock object at 0x7f1b874efbd0>])¶ a set containing the possible types of physical elements. Constant values belong to
ElementType
-
TYPE_ACQUIRABLE_ELEMENTS= set([<_mock._Mock object at 0x7f1b874efc10>, <_mock._Mock object at 0x7f1b874efc50>, <_mock._Mock object at 0x7f1b874efe10>, <_mock._Mock object at 0x7f1b874efc90>, <_mock._Mock object at 0x7f1b874efcd0>, <_mock._Mock object at 0x7f1b874efd10>, <_mock._Mock object at 0x7f1b874efd50>, <_mock._Mock object at 0x7f1b874efd90>, <_mock._Mock object at 0x7f1b874efdd0>])¶ a set containing the possible types of acquirable elements. Constant values belong to
ElementType
-
TYPE_PSEUDO_ELEMENTS= set([<_mock._Mock object at 0x7f1b874fc090>, <_mock._Mock object at 0x7f1b874fc0d0>])¶ 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 0x7f1b87505050>: set([<_mock._Mock object at 0x7f1b87505250>]), <_mock._Mock object at 0x7f1b87502090>: set([<_mock._Mock object at 0x7f1b875022d0>]), <_mock._Mock object at 0x7f1b876482d0>: set([<_mock._Mock object at 0x7f1b87648410>]), <_mock._Mock object at 0x7f1b87505ad0>: set([<_mock._Mock object at 0x7f1b87505cd0>]), <_mock._Mock object at 0x7f1b87505910>: set([<_mock._Mock object at 0x7f1b87505b10>]), <_mock._Mock object at 0x7f1b874fc950>: set([<_mock._Mock object at 0x7f1b874fcad0>]), <_mock._Mock object at 0x7f1b87648590>: set([<_mock._Mock object at 0x7f1b87648650>]), <_mock._Mock object at 0x7f1b874fc190>: set([<_mock._Mock object at 0x7f1b874fc310>, <_mock._Mock object at 0x7f1b874fc2d0>]), <_mock._Mock object at 0x7f1b87505210>: set([<_mock._Mock object at 0x7f1b87505410>, <_mock._Mock object at 0x7f1b87505450>]), <_mock._Mock object at 0x7f1b87648a50>: set([<_mock._Mock object at 0x7f1b87648c90>, <_mock._Mock object at 0x7f1b87648c50>]), <_mock._Mock object at 0x7f1b874fc290>: set([<_mock._Mock object at 0x7f1b874fc590>]), <_mock._Mock object at 0x7f1b87502ad0>: set([<_mock._Mock object at 0x7f1b87502c10>, <_mock._Mock object at 0x7f1b87502c50>]), <_mock._Mock object at 0x7f1b876483d0>: set([]), <_mock._Mock object at 0x7f1b87502890>: set([<_mock._Mock object at 0x7f1b87502b10>]), <_mock._Mock object at 0x7f1b87502390>: set([<_mock._Mock object at 0x7f1b875025d0>]), <_mock._Mock object at 0x7f1b874fca90>: set([<_mock._Mock object at 0x7f1b874fcc90>]), <_mock._Mock object at 0x7f1b875053d0>: set([<_mock._Mock object at 0x7f1b87505690>]), <_mock._Mock object at 0x7f1b876487d0>: set([<_mock._Mock object at 0x7f1b87648a90>]), <_mock._Mock object at 0x7f1b87505750>: set([<_mock._Mock object at 0x7f1b87505950>]), <_mock._Mock object at 0x7f1b87648c10>: set([<_mock._Mock object at 0x7f1b87648e90>, <_mock._Mock object at 0x7f1b87648e50>]), <_mock._Mock object at 0x7f1b874fcc50>: set([<_mock._Mock object at 0x7f1b874fcf10>, <_mock._Mock object at 0x7f1b874fced0>]), <_mock._Mock object at 0x7f1b87648e10>: set([<_mock._Mock object at 0x7f1b8764d050>]), <_mock._Mock object at 0x7f1b87505c90>: set([]), <_mock._Mock object at 0x7f1b874fc550>: set([<_mock._Mock object at 0x7f1b874fc7d0>]), <_mock._Mock object at 0x7f1b87502590>: set([<_mock._Mock object at 0x7f1b87502790>]), <_mock._Mock object at 0x7f1b87502dd0>: set([<_mock._Mock object at 0x7f1b87505090>, <_mock._Mock object at 0x7f1b875050d0>]), <_mock._Mock object at 0x7f1b87505e50>: set([<_mock._Mock object at 0x7f1b87505f10>]), <_mock._Mock object at 0x7f1b87648610>: set([<_mock._Mock object at 0x7f1b87648810>, <_mock._Mock object at 0x7f1b87648850>]), <_mock._Mock object at 0x7f1b87505650>: set([<_mock._Mock object at 0x7f1b87505790>, <_mock._Mock object at 0x7f1b875057d0>]), <_mock._Mock object at 0x7f1b87648110>: set([<_mock._Mock object at 0x7f1b87648310>]), <_mock._Mock object at 0x7f1b874fce90>: set([<_mock._Mock object at 0x7f1b875020d0>]), <_mock._Mock object at 0x7f1b8764d110>: set([<_mock._Mock object at 0x7f1b8764d310>]), <_mock._Mock object at 0x7f1b87505ed0>: set([<_mock._Mock object at 0x7f1b87648050>]), <_mock._Mock object at 0x7f1b87502bd0>: set([<_mock._Mock object at 0x7f1b87502e10>]), <_mock._Mock object at 0x7f1b87648fd0>: set([<_mock._Mock object at 0x7f1b8764d150>]), <_mock._Mock object at 0x7f1b87502750>: set([<_mock._Mock object at 0x7f1b875028d0>]), <_mock._Mock object at 0x7f1b87502290>: set([<_mock._Mock object at 0x7f1b875023d0>]), <_mock._Mock object at 0x7f1b874fc790>: set([<_mock._Mock object at 0x7f1b874fc990>]), <_mock._Mock object at 0x7f1b87505fd0>: set([<_mock._Mock object at 0x7f1b87648190>, <_mock._Mock object at 0x7f1b87648150>]), <_mock._Mock object at 0x7f1b874fc150>: set([<_mock._Mock object at 0x7f1b874fc1d0>])}¶ a dictionary containing the direct interfaces supported by each type (
dict<sardana.sardanadefs.Interface,set<sardana.sardanadefs.Interface> >)
-
InterfacesExpanded= {<_mock._Mock object at 0x7f1b87505050>: set([<_mock._Mock object at 0x7f1b87505290>, <_mock._Mock object at 0x7f1b87505390>, <_mock._Mock object at 0x7f1b87505350>, <_mock._Mock object at 0x7f1b875052d0>, <_mock._Mock object at 0x7f1b87505310>]), <_mock._Mock object at 0x7f1b87502090>: set([<_mock._Mock object at 0x7f1b87502310>, <_mock._Mock object at 0x7f1b87502350>]), <_mock._Mock object at 0x7f1b876482d0>: set([<_mock._Mock object at 0x7f1b87648490>, <_mock._Mock object at 0x7f1b87648550>, <_mock._Mock object at 0x7f1b87648450>, <_mock._Mock object at 0x7f1b87648510>, <_mock._Mock object at 0x7f1b876484d0>]), <_mock._Mock object at 0x7f1b87505ad0>: set([<_mock._Mock object at 0x7f1b87505d10>, <_mock._Mock object at 0x7f1b87505dd0>, <_mock._Mock object at 0x7f1b87505e10>, <_mock._Mock object at 0x7f1b87505d50>, <_mock._Mock object at 0x7f1b87505d90>]), <_mock._Mock object at 0x7f1b87505910>: set([<_mock._Mock object at 0x7f1b87505b90>, <_mock._Mock object at 0x7f1b87505c10>, <_mock._Mock object at 0x7f1b87505c50>, <_mock._Mock object at 0x7f1b87505b50>, <_mock._Mock object at 0x7f1b87505bd0>]), <_mock._Mock object at 0x7f1b874fc950>: set([<_mock._Mock object at 0x7f1b874fcb10>, <_mock._Mock object at 0x7f1b874fcc10>, <_mock._Mock object at 0x7f1b874fcbd0>, <_mock._Mock object at 0x7f1b874fcb50>, <_mock._Mock object at 0x7f1b874fcb90>]), <_mock._Mock object at 0x7f1b87648590>: set([<_mock._Mock object at 0x7f1b87648690>, <_mock._Mock object at 0x7f1b87648790>, <_mock._Mock object at 0x7f1b876486d0>, <_mock._Mock object at 0x7f1b87648750>, <_mock._Mock object at 0x7f1b87648710>]), <_mock._Mock object at 0x7f1b874fc190>: set([<_mock._Mock object at 0x7f1b874fc410>, <_mock._Mock object at 0x7f1b874fc450>, <_mock._Mock object at 0x7f1b874fc490>, <_mock._Mock object at 0x7f1b874fc4d0>, <_mock._Mock object at 0x7f1b874fc510>, <_mock._Mock object at 0x7f1b874fc350>, <_mock._Mock object at 0x7f1b874fc390>, <_mock._Mock object at 0x7f1b874fc3d0>]), <_mock._Mock object at 0x7f1b87505210>: set([<_mock._Mock object at 0x7f1b87505610>, <_mock._Mock object at 0x7f1b87505490>, <_mock._Mock object at 0x7f1b875054d0>, <_mock._Mock object at 0x7f1b87505510>, <_mock._Mock object at 0x7f1b87505550>, <_mock._Mock object at 0x7f1b87505590>, <_mock._Mock object at 0x7f1b875055d0>]), <_mock._Mock object at 0x7f1b87648a50>: set([<_mock._Mock object at 0x7f1b87648d10>, <_mock._Mock object at 0x7f1b87648d90>, <_mock._Mock object at 0x7f1b87648cd0>, <_mock._Mock object at 0x7f1b87648dd0>, <_mock._Mock object at 0x7f1b87648d50>]), <_mock._Mock object at 0x7f1b874fc290>: set([<_mock._Mock object at 0x7f1b874fc610>, <_mock._Mock object at 0x7f1b874fc650>, <_mock._Mock object at 0x7f1b874fc690>, <_mock._Mock object at 0x7f1b874fc6d0>, <_mock._Mock object at 0x7f1b874fc710>, <_mock._Mock object at 0x7f1b874fc750>, <_mock._Mock object at 0x7f1b874fc5d0>]), <_mock._Mock object at 0x7f1b87502ad0>: set([<_mock._Mock object at 0x7f1b87502c90>, <_mock._Mock object at 0x7f1b87502d50>, <_mock._Mock object at 0x7f1b87502d90>, <_mock._Mock object at 0x7f1b87502cd0>, <_mock._Mock object at 0x7f1b87502d10>]), <_mock._Mock object at 0x7f1b876483d0>: set([<_mock._Mock object at 0x7f1b876485d0>]), <_mock._Mock object at 0x7f1b87502890>: set([<_mock._Mock object at 0x7f1b87502b90>, <_mock._Mock object at 0x7f1b87502b50>]), <_mock._Mock object at 0x7f1b87502390>: set([<_mock._Mock object at 0x7f1b87502610>, <_mock._Mock object at 0x7f1b87502710>, <_mock._Mock object at 0x7f1b875026d0>, <_mock._Mock object at 0x7f1b87502650>, <_mock._Mock object at 0x7f1b87502690>]), <_mock._Mock object at 0x7f1b874fca90>: set([<_mock._Mock object at 0x7f1b874fce10>, <_mock._Mock object at 0x7f1b874fce50>, <_mock._Mock object at 0x7f1b874fccd0>, <_mock._Mock object at 0x7f1b874fcd10>, <_mock._Mock object at 0x7f1b874fcd50>, <_mock._Mock object at 0x7f1b874fcd90>, <_mock._Mock object at 0x7f1b874fcdd0>]), <_mock._Mock object at 0x7f1b875053d0>: set([<_mock._Mock object at 0x7f1b87505710>, <_mock._Mock object at 0x7f1b875056d0>]), <_mock._Mock object at 0x7f1b876487d0>: set([<_mock._Mock object at 0x7f1b87648b90>, <_mock._Mock object at 0x7f1b87648b10>, <_mock._Mock object at 0x7f1b87648bd0>, <_mock._Mock object at 0x7f1b87648ad0>, <_mock._Mock object at 0x7f1b87648b50>]), <_mock._Mock object at 0x7f1b87505750>: set([<_mock._Mock object at 0x7f1b87505990>, <_mock._Mock object at 0x7f1b87505a90>, <_mock._Mock object at 0x7f1b875059d0>, <_mock._Mock object at 0x7f1b87505a50>, <_mock._Mock object at 0x7f1b87505a10>]), <_mock._Mock object at 0x7f1b87648c10>: set([<_mock._Mock object at 0x7f1b87648f10>, <_mock._Mock object at 0x7f1b87648f90>, <_mock._Mock object at 0x7f1b87648ed0>, <_mock._Mock object at 0x7f1b87648f50>]), <_mock._Mock object at 0x7f1b874fcc50>: set([<_mock._Mock object at 0x7f1b874fcf90>, <_mock._Mock object at 0x7f1b87502050>, <_mock._Mock object at 0x7f1b874fcf50>, <_mock._Mock object at 0x7f1b874fcfd0>]), <_mock._Mock object at 0x7f1b87648e10>: set([<_mock._Mock object at 0x7f1b8764d090>, <_mock._Mock object at 0x7f1b8764d0d0>]), <_mock._Mock object at 0x7f1b87505c90>: set([<_mock._Mock object at 0x7f1b87505e90>]), <_mock._Mock object at 0x7f1b874fc550>: set([<_mock._Mock object at 0x7f1b874fc8d0>, <_mock._Mock object at 0x7f1b874fc810>, <_mock._Mock object at 0x7f1b874fc910>, <_mock._Mock object at 0x7f1b874fc850>, <_mock._Mock object at 0x7f1b874fc890>]), <_mock._Mock object at 0x7f1b87502590>: set([<_mock._Mock object at 0x7f1b87502810>, <_mock._Mock object at 0x7f1b875027d0>, <_mock._Mock object at 0x7f1b87502850>]), <_mock._Mock object at 0x7f1b87502dd0>: set([<_mock._Mock object at 0x7f1b87505110>, <_mock._Mock object at 0x7f1b875051d0>, <_mock._Mock object at 0x7f1b87505150>, <_mock._Mock object at 0x7f1b87505190>]), <_mock._Mock object at 0x7f1b87505e50>: set([<_mock._Mock object at 0x7f1b87505f90>, <_mock._Mock object at 0x7f1b87505f50>]), <_mock._Mock object at 0x7f1b87648610>: set([<_mock._Mock object at 0x7f1b87648a10>, <_mock._Mock object at 0x7f1b87648890>, <_mock._Mock object at 0x7f1b876488d0>, <_mock._Mock object at 0x7f1b87648910>, <_mock._Mock object at 0x7f1b87648950>, <_mock._Mock object at 0x7f1b87648990>, <_mock._Mock object at 0x7f1b876489d0>]), <_mock._Mock object at 0x7f1b87505650>: set([<_mock._Mock object at 0x7f1b875058d0>, <_mock._Mock object at 0x7f1b87505810>, <_mock._Mock object at 0x7f1b87505850>, <_mock._Mock object at 0x7f1b87505890>]), <_mock._Mock object at 0x7f1b87648110>: set([<_mock._Mock object at 0x7f1b87648390>, <_mock._Mock object at 0x7f1b87648350>]), <_mock._Mock object at 0x7f1b874fce90>: set([<_mock._Mock object at 0x7f1b87502210>, <_mock._Mock object at 0x7f1b87502250>, <_mock._Mock object at 0x7f1b87502110>, <_mock._Mock object at 0x7f1b87502150>, <_mock._Mock object at 0x7f1b87502190>, <_mock._Mock object at 0x7f1b875021d0>]), <_mock._Mock object at 0x7f1b8764d110>: set([<_mock._Mock object at 0x7f1b8764d410>, <_mock._Mock object at 0x7f1b8764d450>, <_mock._Mock object at 0x7f1b8764d490>, <_mock._Mock object at 0x7f1b8764d4d0>, <_mock._Mock object at 0x7f1b8764d350>, <_mock._Mock object at 0x7f1b8764d390>, <_mock._Mock object at 0x7f1b8764d3d0>]), <_mock._Mock object at 0x7f1b87505ed0>: set([<_mock._Mock object at 0x7f1b87648090>, <_mock._Mock object at 0x7f1b876480d0>]), <_mock._Mock object at 0x7f1b87502bd0>: set([<_mock._Mock object at 0x7f1b87502e50>, <_mock._Mock object at 0x7f1b87502e90>, <_mock._Mock object at 0x7f1b87502ed0>, <_mock._Mock object at 0x7f1b87502f10>, <_mock._Mock object at 0x7f1b87502f50>, <_mock._Mock object at 0x7f1b87502f90>, <_mock._Mock object at 0x7f1b87502fd0>]), <_mock._Mock object at 0x7f1b87648fd0>: set([<_mock._Mock object at 0x7f1b8764d190>, <_mock._Mock object at 0x7f1b8764d290>, <_mock._Mock object at 0x7f1b8764d1d0>, <_mock._Mock object at 0x7f1b8764d250>, <_mock._Mock object at 0x7f1b8764d210>]), <_mock._Mock object at 0x7f1b87502750>: set([<_mock._Mock object at 0x7f1b87502a10>, <_mock._Mock object at 0x7f1b87502a50>, <_mock._Mock object at 0x7f1b87502a90>, <_mock._Mock object at 0x7f1b87502910>, <_mock._Mock object at 0x7f1b87502950>, <_mock._Mock object at 0x7f1b87502990>, <_mock._Mock object at 0x7f1b875029d0>]), <_mock._Mock object at 0x7f1b87502290>: set([<_mock._Mock object at 0x7f1b87502410>, <_mock._Mock object at 0x7f1b87502450>, <_mock._Mock object at 0x7f1b87502490>, <_mock._Mock object at 0x7f1b875024d0>, <_mock._Mock object at 0x7f1b87502510>, <_mock._Mock object at 0x7f1b87502550>]), <_mock._Mock object at 0x7f1b874fc790>: set([<_mock._Mock object at 0x7f1b874fca10>, <_mock._Mock object at 0x7f1b874fc9d0>, <_mock._Mock object at 0x7f1b874fca50>]), <_mock._Mock object at 0x7f1b87505fd0>: set([<_mock._Mock object at 0x7f1b87648210>, <_mock._Mock object at 0x7f1b87648290>, <_mock._Mock object at 0x7f1b876481d0>, <_mock._Mock object at 0x7f1b87648250>]), <_mock._Mock object at 0x7f1b874fc150>: set([<_mock._Mock object at 0x7f1b874fc210>, <_mock._Mock object at 0x7f1b874fc250>])}¶ a dictionary containing the all interfaces supported by each type. (
dict<sardana.sardanadefs.Interface,set<sardana.sardanadefs.Interface> >)
-
INTERFACES= {'ParameterType': (set(['Meta']), 'A generic macro server parameter type'), 'Macro': (set(['MacroFunction', 'MacroClass']), 'A macro server macro'), 'ZeroDExpChannel': (set(['ExpChannel']), 'A 0D experimental channel'), 'MacroServer': (set(['MacroServerElement']), 'A MacroServer'), 'Constraint': (set(['PoolObject']), 'A constraint'), 'Acquirable': (set(['PoolElement']), 'An acquirable element'), 'TwoDExpChannel': (set(['ExpChannel']), 'A 2D experimental channel'), 'MacroLibrary': (set(['MacroServerObject', 'Library']), 'A macro server library'), 'IORegister': (set(['Acquirable']), 'An IO register'), 'Element': (set(['Object']), 'A generic sardana element'), 'ExpChannel': (set(['Acquirable']), 'A generic experimental channel'), 'Instrument': (set(['PoolElement']), 'An instrument'), 'MacroCode': (set(['MacroServerObject']), 'A macro server macro code'), 'OneDExpChannel': (set(['ExpChannel']), 'A 1D experimental channel'), 'PoolObject': (set(['Object']), 'A Pool object'), 'MacroClass': (set(['MacroCode', 'Class']), 'A macro server macro class'), 'PseudoCounter': (set(['ExpChannel']), 'A pseudo counter'), 'PoolElement': (set(['PoolObject', 'Element']), 'A Pool element'), 'MeasurementGroup': (set(['PoolElement']), 'A measurement group'), 'PseudoMotor': (set(['Acquirable', 'Moveable']), 'A pseudo motor'), 'Function': (set(['Object']), 'A generic sardana function'), 'MacroServerElement': (set(['MacroServerObject', 'Element']), 'A generic macro server element'), 'TriggerGate': (set(['PoolElement']), 'A trigger/gate'), 'Door': (set(['MacroServerElement']), 'A macro server door'), 'MotorGroup': (set(['PoolElement']), 'A motor group'), 'Object': (set([]), 'A generic sardana object'), 'Library': (set(['Object']), 'A generic sardana library'), 'MacroServerObject': (set(['Object']), 'A generic macro server object'), 'ControllerLibrary': (set(['PoolObject', 'Library']), 'A controller library'), 'External': (set(['Object']), 'An external object'), 'Controller': (set(['PoolElement']), 'A controller'), 'Meta': (set([]), 'A generic sardana meta object'), 'ComChannel': (set(['PoolElement']), 'A communication channel'), 'Motor': (set(['Acquirable', 'Moveable']), 'a motor'), 'Moveable': (set(['PoolElement']), 'A moveable element'), 'MacroFunction': (set(['Function', 'MacroCode']), 'A macro server macro function'), 'ControllerClass': (set(['Class', 'PoolObject']), 'A controller class'), 'Class': (set(['Object']), 'A generic sardana class'), 'Pool': (set(['PoolElement']), 'A Pool'), 'CTExpChannel': (set(['ExpChannel']), 'A counter/timer 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'), 'IORegister': (set(['PoolObject', 'PoolElement', 'Acquirable', 'Object', 'IORegister', 'Element']), 'An IO register'), 'Instrument': (set(['Instrument', 'PoolElement', 'Object', 'PoolObject', 'Element']), 'An instrument'), 'PoolElement': (set(['PoolElement', 'Object', 'PoolObject', 'Element']), 'A Pool element'), 'MacroClass': (set(['MacroCode', 'Object', 'Class', 'MacroClass', 'MacroServerObject']), 'A macro server macro class'), 'Function': (set(['Function', 'Object']), 'A generic sardana function'), 'Door': (set(['MacroServerElement', 'Object', 'Door', 'MacroServerObject', 'Element']), 'A macro server door'), 'Object': (set(['Object']), 'A generic sardana object'), 'Controller': (set(['PoolElement', 'Controller', 'Object', 'PoolObject', 'Element']), 'A controller'), 'External': (set(['Object', 'External']), 'An external object'), 'MacroServer': (set(['MacroServerElement', 'Object', 'MacroServerObject', 'MacroServer', 'Element']), 'A MacroServer'), 'MacroLibrary': (set(['MacroLibrary', 'Object', 'MacroServerObject', 'Library']), 'A macro server library'), 'MacroFunction': (set(['Function', 'MacroCode', 'MacroFunction', 'Object', 'MacroServerObject']), 'A macro server macro function'), 'MacroServerObject': (set(['Object', 'MacroServerObject']), 'A generic macro server object'), 'ComChannel': (set(['PoolElement', 'Object', 'PoolObject', 'ComChannel', 'Element']), 'A communication channel'), 'ZeroDExpChannel': (set(['ExpChannel', 'ZeroDExpChannel', 'PoolObject', 'Acquirable', 'PoolElement', 'Object', 'Element']), 'A 0D experimental channel'), 'Constraint': (set(['Object', 'PoolObject', 'Constraint']), 'A constraint'), 'Macro': (set(['Function', 'Macro', 'Object', 'Class', 'MacroCode', 'MacroFunction', 'MacroServerObject', 'MacroClass']), 'A macro server macro'), 'TwoDExpChannel': (set(['ExpChannel', 'PoolObject', 'Acquirable', 'PoolElement', 'TwoDExpChannel', 'Object', 'Element']), 'A 2D experimental channel'), 'Moveable': (set(['PoolElement', 'Object', 'Moveable', 'PoolObject', 'Element']), 'A moveable element'), 'Element': (set(['Object', 'Element']), 'A generic sardana element'), 'ExpChannel': (set(['ExpChannel', 'PoolObject', 'PoolElement', 'Acquirable', 'Object', 'Element']), 'A generic experimental channel'), 'MacroCode': (set(['MacroCode', 'Object', 'MacroServerObject']), 'A macro server macro code'), 'OneDExpChannel': (set(['ExpChannel', 'OneDExpChannel', 'PoolObject', 'Acquirable', 'PoolElement', 'Object', 'Element']), 'A 1D experimental channel'), 'PoolObject': (set(['Object', 'PoolObject']), 'A Pool object'), 'PseudoCounter': (set(['ExpChannel', 'PoolObject', 'PseudoCounter', 'Acquirable', 'PoolElement', 'Object', 'Element']), 'A pseudo counter'), 'MeasurementGroup': (set(['PoolElement', 'Object', 'PoolObject', 'MeasurementGroup', 'Element']), 'A measurement group'), 'PseudoMotor': (set(['Acquirable', 'Object', 'Element', 'PoolObject', 'Moveable', 'PoolElement', 'PseudoMotor']), 'A pseudo motor'), 'ParameterType': (set(['ParameterType', 'Meta']), 'A generic macro server parameter type'), 'MacroServerElement': (set(['MacroServerElement', 'Object', 'MacroServerObject', 'Element']), 'A generic macro server element'), 'TriggerGate': (set(['PoolElement', 'TriggerGate', 'Object', 'PoolObject', 'Element']), 'A trigger/gate'), 'MotorGroup': (set(['PoolElement', 'MotorGroup', 'Object', 'PoolObject', 'Element']), 'A motor group'), 'Library': (set(['Object', 'Library']), 'A generic sardana library'), 'Class': (set(['Object', 'Class']), 'A generic sardana class'), 'ControllerLibrary': (set(['ControllerLibrary', 'Object', 'PoolObject', 'Library']), 'A controller library'), 'Meta': (set(['Meta']), 'A generic sardana meta object'), 'Pool': (set(['PoolElement', 'Object', 'PoolObject', 'Pool', 'Element']), 'A Pool'), 'Motor': (set(['Acquirable', 'Object', 'Element', 'PoolObject', 'Motor', 'Moveable', 'PoolElement']), 'a motor'), 'CTExpChannel': (set(['ExpChannel', 'PoolObject', 'CTExpChannel', 'Acquirable', 'PoolElement', 'Object', 'Element']), 'A counter/timer experimental channel'), 'ControllerClass': (set(['ControllerClass', 'Object', 'Class', 'PoolObject']), 'A controller class')}¶ 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/
DataTypeor None) into a tuple of two elements (str,DataFormat) where the first element is a string with a simplified data type.Parameters: dtype (str or None or DataType) – the data type to be transformedReturns: a tuple <str, DataFormat> for the given dtypeReturn 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 dataReturn type: tuple< DataType,DataFormat>
-
to_daccess(daccess)[source]¶ Transforms the given access parameter (string or None) into a
DataAccess. If None is given returnsDataAccess.ReadWriteParameters: dtype (str) – the access to be transformed Returns: a DataAccessfor the given accessReturn type: DataAccess