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 0x7f30bbcdf610>, <_mock._Mock object at 0x7f30bbcdf650>, <_mock._Mock object at 0x7f30bbcdf810>, <_mock._Mock object at 0x7f30bbcdf690>, <_mock._Mock object at 0x7f30bbcdf6d0>, <_mock._Mock object at 0x7f30bbcdf710>, <_mock._Mock object at 0x7f30bbcdf750>, <_mock._Mock object at 0x7f30bbcdf790>, <_mock._Mock object at 0x7f30bbcdf7d0>, <_mock._Mock object at 0x7f30bbcdf850>])¶ a set containning all “controllable” element types. Constant values belong to
ElementType
-
TYPE_GROUP_ELEMENTS= set([<_mock._Mock object at 0x7f30bbcdf890>, <_mock._Mock object at 0x7f30bbcdf8d0>])¶ a set containing all group element types. Constant values belong to
ElementType
-
TYPE_MOVEABLE_ELEMENTS= set([<_mock._Mock object at 0x7f30bbcdf910>, <_mock._Mock object at 0x7f30bbcdf950>, <_mock._Mock object at 0x7f30bbcdf990>])¶ a set containing the type of elements which are moveable. Constant values belong to
ElementType
-
TYPE_PHYSICAL_ELEMENTS= set([<_mock._Mock object at 0x7f30bbcdfa10>, <_mock._Mock object at 0x7f30bbcdfa50>, <_mock._Mock object at 0x7f30bbcdfa90>, <_mock._Mock object at 0x7f30bbcdfad0>, <_mock._Mock object at 0x7f30bbcdfb10>, <_mock._Mock object at 0x7f30bbcdfb50>, <_mock._Mock object at 0x7f30bbcdf9d0>])¶ a set containing the possible types of physical elements. Constant values belong to
ElementType
-
TYPE_ACQUIRABLE_ELEMENTS= set([<_mock._Mock object at 0x7f30bbcdfc10>, <_mock._Mock object at 0x7f30bbcdfc50>, <_mock._Mock object at 0x7f30bbcdfc90>, <_mock._Mock object at 0x7f30bbcdfcd0>, <_mock._Mock object at 0x7f30bbcdfd10>, <_mock._Mock object at 0x7f30bbcdfd50>, <_mock._Mock object at 0x7f30bbcdfd90>, <_mock._Mock object at 0x7f30bbcdfb90>, <_mock._Mock object at 0x7f30bbcdfbd0>])¶ a set containing the possible types of acquirable elements. Constant values belong to
ElementType
-
TYPE_PSEUDO_ELEMENTS= set([<_mock._Mock object at 0x7f30bbcdffd0>, <_mock._Mock object at 0x7f30bbce0050>])¶ 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 0x7f30bbe2f810>: set([<_mock._Mock object at 0x7f30bbe2fa10>, <_mock._Mock object at 0x7f30bbe2fa50>]), <_mock._Mock object at 0x7f30bbceb050>: set([<_mock._Mock object at 0x7f30bbceb290>]), <_mock._Mock object at 0x7f30bbceb410>: set([<_mock._Mock object at 0x7f30bbceb590>]), <_mock._Mock object at 0x7f30bbcee890>: set([<_mock._Mock object at 0x7f30bbceea90>]), <_mock._Mock object at 0x7f30bbceb890>: set([<_mock._Mock object at 0x7f30bbcebad0>]), <_mock._Mock object at 0x7f30bbe2f090>: set([<_mock._Mock object at 0x7f30bbe2f1d0>]), <_mock._Mock object at 0x7f30bbce00d0>: set([<_mock._Mock object at 0x7f30bbce0150>]), <_mock._Mock object at 0x7f30bbce0910>: set([<_mock._Mock object at 0x7f30bbce0b90>, <_mock._Mock object at 0x7f30bbce0bd0>]), <_mock._Mock object at 0x7f30bbe2f590>: set([<_mock._Mock object at 0x7f30bbe2f850>]), <_mock._Mock object at 0x7f30bbe2f190>: set([]), <_mock._Mock object at 0x7f30bbceec10>: set([<_mock._Mock object at 0x7f30bbceecd0>]), <_mock._Mock object at 0x7f30bbe2f9d0>: set([<_mock._Mock object at 0x7f30bbe2fc10>, <_mock._Mock object at 0x7f30bbe2fc50>]), <_mock._Mock object at 0x7f30bbce0210>: set([<_mock._Mock object at 0x7f30bbce0490>]), <_mock._Mock object at 0x7f30bbceb250>: set([<_mock._Mock object at 0x7f30bbceb450>]), <_mock._Mock object at 0x7f30bbceba90>: set([<_mock._Mock object at 0x7f30bbcebd10>, <_mock._Mock object at 0x7f30bbcebd50>]), <_mock._Mock object at 0x7f30bbcee310>: set([<_mock._Mock object at 0x7f30bbcee490>, <_mock._Mock object at 0x7f30bbcee450>]), <_mock._Mock object at 0x7f30bbce0b50>: set([<_mock._Mock object at 0x7f30bbce0d50>]), <_mock._Mock object at 0x7f30bbcee090>: set([<_mock._Mock object at 0x7f30bbcee350>]), <_mock._Mock object at 0x7f30bbe2f3d0>: set([<_mock._Mock object at 0x7f30bbe2f610>, <_mock._Mock object at 0x7f30bbe2f5d0>]), <_mock._Mock object at 0x7f30bbe2f350>: set([<_mock._Mock object at 0x7f30bbe2f410>]), <_mock._Mock object at 0x7f30bbcee410>: set([<_mock._Mock object at 0x7f30bbcee610>, <_mock._Mock object at 0x7f30bbcee650>]), <_mock._Mock object at 0x7f30bbce0450>: set([<_mock._Mock object at 0x7f30bbce0650>]), <_mock._Mock object at 0x7f30bbceec90>: set([<_mock._Mock object at 0x7f30bbceedd0>]), <_mock._Mock object at 0x7f30bbcebcd0>: set([<_mock._Mock object at 0x7f30bbcebed0>]), <_mock._Mock object at 0x7f30bbce0d10>: set([<_mock._Mock object at 0x7f30bbce0f50>]), <_mock._Mock object at 0x7f30bbe2fe90>: set([<_mock._Mock object at 0x7f30bbe330d0>]), <_mock._Mock object at 0x7f30bbceb550>: set([<_mock._Mock object at 0x7f30bbceb7d0>]), <_mock._Mock object at 0x7f30bbceed90>: set([<_mock._Mock object at 0x7f30bbceef10>, <_mock._Mock object at 0x7f30bbceeed0>]), <_mock._Mock object at 0x7f30bbcee5d0>: set([<_mock._Mock object at 0x7f30bbcee8d0>]), <_mock._Mock object at 0x7f30bbceea50>: set([]), <_mock._Mock object at 0x7f30bbce0610>: set([<_mock._Mock object at 0x7f30bbce0790>]), <_mock._Mock object at 0x7f30bbce0110>: set([<_mock._Mock object at 0x7f30bbce0250>]), <_mock._Mock object at 0x7f30bbcebe90>: set([<_mock._Mock object at 0x7f30bbcee110>, <_mock._Mock object at 0x7f30bbcee0d0>]), <_mock._Mock object at 0x7f30bbe2fbd0>: set([<_mock._Mock object at 0x7f30bbe2fdd0>]), <_mock._Mock object at 0x7f30bbce0f10>: set([<_mock._Mock object at 0x7f30bbceb090>]), <_mock._Mock object at 0x7f30bbe2fd90>: set([<_mock._Mock object at 0x7f30bbe2fed0>]), <_mock._Mock object at 0x7f30bbce0750>: set([<_mock._Mock object at 0x7f30bbce0950>]), <_mock._Mock object at 0x7f30bbceee90>: set([<_mock._Mock object at 0x7f30bbe2f0d0>]), <_mock._Mock object at 0x7f30bbceb790>: set([<_mock._Mock object at 0x7f30bbceb910>, <_mock._Mock object at 0x7f30bbceb8d0>])}¶ a dictionary containing the direct interfaces supported by each type (
dict<sardana.sardanadefs.Interface,set<sardana.sardanadefs.Interface> >)
-
InterfacesExpanded= {<_mock._Mock object at 0x7f30bbe2f810>: set([<_mock._Mock object at 0x7f30bbe2fa90>, <_mock._Mock object at 0x7f30bbe2fb50>, <_mock._Mock object at 0x7f30bbe2fad0>, <_mock._Mock object at 0x7f30bbe2fb90>, <_mock._Mock object at 0x7f30bbe2fb10>]), <_mock._Mock object at 0x7f30bbceb050>: set([<_mock._Mock object at 0x7f30bbceb310>, <_mock._Mock object at 0x7f30bbceb390>, <_mock._Mock object at 0x7f30bbceb2d0>, <_mock._Mock object at 0x7f30bbceb3d0>, <_mock._Mock object at 0x7f30bbceb350>]), <_mock._Mock object at 0x7f30bbceb410>: set([<_mock._Mock object at 0x7f30bbceb610>, <_mock._Mock object at 0x7f30bbceb650>, <_mock._Mock object at 0x7f30bbceb690>, <_mock._Mock object at 0x7f30bbceb6d0>, <_mock._Mock object at 0x7f30bbceb710>, <_mock._Mock object at 0x7f30bbceb750>, <_mock._Mock object at 0x7f30bbceb5d0>]), <_mock._Mock object at 0x7f30bbcee890>: set([<_mock._Mock object at 0x7f30bbceeb10>, <_mock._Mock object at 0x7f30bbceeb90>, <_mock._Mock object at 0x7f30bbceebd0>, <_mock._Mock object at 0x7f30bbceead0>, <_mock._Mock object at 0x7f30bbceeb50>]), <_mock._Mock object at 0x7f30bbceb890>: set([<_mock._Mock object at 0x7f30bbcebc10>, <_mock._Mock object at 0x7f30bbcebc50>, <_mock._Mock object at 0x7f30bbcebc90>, <_mock._Mock object at 0x7f30bbcebb10>, <_mock._Mock object at 0x7f30bbcebb50>, <_mock._Mock object at 0x7f30bbcebb90>, <_mock._Mock object at 0x7f30bbcebbd0>]), <_mock._Mock object at 0x7f30bbe2f090>: set([<_mock._Mock object at 0x7f30bbe2f210>, <_mock._Mock object at 0x7f30bbe2f310>, <_mock._Mock object at 0x7f30bbe2f250>, <_mock._Mock object at 0x7f30bbe2f2d0>, <_mock._Mock object at 0x7f30bbe2f290>]), <_mock._Mock object at 0x7f30bbce00d0>: set([<_mock._Mock object at 0x7f30bbce0190>, <_mock._Mock object at 0x7f30bbce01d0>]), <_mock._Mock object at 0x7f30bbce0910>: set([<_mock._Mock object at 0x7f30bbce0c10>, <_mock._Mock object at 0x7f30bbce0cd0>, <_mock._Mock object at 0x7f30bbce0c50>, <_mock._Mock object at 0x7f30bbce0c90>]), <_mock._Mock object at 0x7f30bbe2f590>: set([<_mock._Mock object at 0x7f30bbe2f950>, <_mock._Mock object at 0x7f30bbe2f890>, <_mock._Mock object at 0x7f30bbe2f990>, <_mock._Mock object at 0x7f30bbe2f8d0>, <_mock._Mock object at 0x7f30bbe2f910>]), <_mock._Mock object at 0x7f30bbe2f190>: set([<_mock._Mock object at 0x7f30bbe2f390>]), <_mock._Mock object at 0x7f30bbceec10>: set([<_mock._Mock object at 0x7f30bbceed10>, <_mock._Mock object at 0x7f30bbceed50>]), <_mock._Mock object at 0x7f30bbe2f9d0>: set([<_mock._Mock object at 0x7f30bbe2fc90>, <_mock._Mock object at 0x7f30bbe2fd50>, <_mock._Mock object at 0x7f30bbe2fcd0>, <_mock._Mock object at 0x7f30bbe2fd10>]), <_mock._Mock object at 0x7f30bbce0210>: set([<_mock._Mock object at 0x7f30bbce05d0>, <_mock._Mock object at 0x7f30bbce0510>, <_mock._Mock object at 0x7f30bbce04d0>, <_mock._Mock object at 0x7f30bbce0590>, <_mock._Mock object at 0x7f30bbce0550>]), <_mock._Mock object at 0x7f30bbceb250>: set([<_mock._Mock object at 0x7f30bbceb490>, <_mock._Mock object at 0x7f30bbceb4d0>, <_mock._Mock object at 0x7f30bbceb510>]), <_mock._Mock object at 0x7f30bbceba90>: set([<_mock._Mock object at 0x7f30bbcebd90>, <_mock._Mock object at 0x7f30bbcebe50>, <_mock._Mock object at 0x7f30bbcebdd0>, <_mock._Mock object at 0x7f30bbcebe10>]), <_mock._Mock object at 0x7f30bbcee310>: set([<_mock._Mock object at 0x7f30bbcee510>, <_mock._Mock object at 0x7f30bbcee4d0>, <_mock._Mock object at 0x7f30bbcee590>, <_mock._Mock object at 0x7f30bbcee550>]), <_mock._Mock object at 0x7f30bbce0b50>: set([<_mock._Mock object at 0x7f30bbce0e10>, <_mock._Mock object at 0x7f30bbce0e50>, <_mock._Mock object at 0x7f30bbce0e90>, <_mock._Mock object at 0x7f30bbce0ed0>, <_mock._Mock object at 0x7f30bbce0d90>, <_mock._Mock object at 0x7f30bbce0dd0>]), <_mock._Mock object at 0x7f30bbcee090>: set([<_mock._Mock object at 0x7f30bbcee390>, <_mock._Mock object at 0x7f30bbcee3d0>]), <_mock._Mock object at 0x7f30bbe2f3d0>: set([<_mock._Mock object at 0x7f30bbe2f650>, <_mock._Mock object at 0x7f30bbe2f690>, <_mock._Mock object at 0x7f30bbe2f6d0>, <_mock._Mock object at 0x7f30bbe2f710>, <_mock._Mock object at 0x7f30bbe2f750>, <_mock._Mock object at 0x7f30bbe2f790>, <_mock._Mock object at 0x7f30bbe2f7d0>]), <_mock._Mock object at 0x7f30bbe2f350>: set([<_mock._Mock object at 0x7f30bbe2f490>, <_mock._Mock object at 0x7f30bbe2f550>, <_mock._Mock object at 0x7f30bbe2f450>, <_mock._Mock object at 0x7f30bbe2f510>, <_mock._Mock object at 0x7f30bbe2f4d0>]), <_mock._Mock object at 0x7f30bbcee410>: set([<_mock._Mock object at 0x7f30bbcee810>, <_mock._Mock object at 0x7f30bbcee850>, <_mock._Mock object at 0x7f30bbcee690>, <_mock._Mock object at 0x7f30bbcee6d0>, <_mock._Mock object at 0x7f30bbcee710>, <_mock._Mock object at 0x7f30bbcee750>, <_mock._Mock object at 0x7f30bbcee790>, <_mock._Mock object at 0x7f30bbcee7d0>]), <_mock._Mock object at 0x7f30bbce0450>: set([<_mock._Mock object at 0x7f30bbce0690>, <_mock._Mock object at 0x7f30bbce06d0>, <_mock._Mock object at 0x7f30bbce0710>]), <_mock._Mock object at 0x7f30bbceec90>: set([<_mock._Mock object at 0x7f30bbceee10>, <_mock._Mock object at 0x7f30bbceee50>]), <_mock._Mock object at 0x7f30bbcebcd0>: set([<_mock._Mock object at 0x7f30bbcebf10>, <_mock._Mock object at 0x7f30bbcebfd0>, <_mock._Mock object at 0x7f30bbcee050>, <_mock._Mock object at 0x7f30bbcebf50>, <_mock._Mock object at 0x7f30bbcebf90>]), <_mock._Mock object at 0x7f30bbce0d10>: set([<_mock._Mock object at 0x7f30bbce0f90>, <_mock._Mock object at 0x7f30bbce0fd0>]), <_mock._Mock object at 0x7f30bbe2fe90>: set([<_mock._Mock object at 0x7f30bbe33210>, <_mock._Mock object at 0x7f30bbe33250>, <_mock._Mock object at 0x7f30bbe33290>, <_mock._Mock object at 0x7f30bbe33110>, <_mock._Mock object at 0x7f30bbe33150>, <_mock._Mock object at 0x7f30bbe33190>, <_mock._Mock object at 0x7f30bbe331d0>]), <_mock._Mock object at 0x7f30bbceb550>: set([<_mock._Mock object at 0x7f30bbceb810>, <_mock._Mock object at 0x7f30bbceb850>]), <_mock._Mock object at 0x7f30bbceed90>: set([<_mock._Mock object at 0x7f30bbceef90>, <_mock._Mock object at 0x7f30bbe2f050>, <_mock._Mock object at 0x7f30bbceef50>, <_mock._Mock object at 0x7f30bbceefd0>]), <_mock._Mock object at 0x7f30bbcee5d0>: set([<_mock._Mock object at 0x7f30bbcee9d0>, <_mock._Mock object at 0x7f30bbcee910>, <_mock._Mock object at 0x7f30bbceea10>, <_mock._Mock object at 0x7f30bbcee950>, <_mock._Mock object at 0x7f30bbcee990>]), <_mock._Mock object at 0x7f30bbceea50>: set([<_mock._Mock object at 0x7f30bbceec50>]), <_mock._Mock object at 0x7f30bbce0610>: set([<_mock._Mock object at 0x7f30bbce0890>, <_mock._Mock object at 0x7f30bbce0810>, <_mock._Mock object at 0x7f30bbce08d0>, <_mock._Mock object at 0x7f30bbce07d0>, <_mock._Mock object at 0x7f30bbce0850>]), <_mock._Mock object at 0x7f30bbce0110>: set([<_mock._Mock object at 0x7f30bbce0410>, <_mock._Mock object at 0x7f30bbce0290>, <_mock._Mock object at 0x7f30bbce02d0>, <_mock._Mock object at 0x7f30bbce0310>, <_mock._Mock object at 0x7f30bbce0350>, <_mock._Mock object at 0x7f30bbce0390>, <_mock._Mock object at 0x7f30bbce03d0>]), <_mock._Mock object at 0x7f30bbcebe90>: set([<_mock._Mock object at 0x7f30bbcee210>, <_mock._Mock object at 0x7f30bbcee250>, <_mock._Mock object at 0x7f30bbcee290>, <_mock._Mock object at 0x7f30bbcee2d0>, <_mock._Mock object at 0x7f30bbcee150>, <_mock._Mock object at 0x7f30bbcee190>, <_mock._Mock object at 0x7f30bbcee1d0>]), <_mock._Mock object at 0x7f30bbe2fbd0>: set([<_mock._Mock object at 0x7f30bbe2fe10>, <_mock._Mock object at 0x7f30bbe2fe50>]), <_mock._Mock object at 0x7f30bbce0f10>: set([<_mock._Mock object at 0x7f30bbceb210>, <_mock._Mock object at 0x7f30bbceb0d0>, <_mock._Mock object at 0x7f30bbceb110>, <_mock._Mock object at 0x7f30bbceb150>, <_mock._Mock object at 0x7f30bbceb190>, <_mock._Mock object at 0x7f30bbceb1d0>]), <_mock._Mock object at 0x7f30bbe2fd90>: set([<_mock._Mock object at 0x7f30bbe2ff10>, <_mock._Mock object at 0x7f30bbe2ffd0>, <_mock._Mock object at 0x7f30bbe33050>, <_mock._Mock object at 0x7f30bbe2ff50>, <_mock._Mock object at 0x7f30bbe2ff90>]), <_mock._Mock object at 0x7f30bbce0750>: set([<_mock._Mock object at 0x7f30bbce0a10>, <_mock._Mock object at 0x7f30bbce0a50>, <_mock._Mock object at 0x7f30bbce0a90>, <_mock._Mock object at 0x7f30bbce0ad0>, <_mock._Mock object at 0x7f30bbce0b10>, <_mock._Mock object at 0x7f30bbce0990>, <_mock._Mock object at 0x7f30bbce09d0>]), <_mock._Mock object at 0x7f30bbceee90>: set([<_mock._Mock object at 0x7f30bbe2f110>, <_mock._Mock object at 0x7f30bbe2f150>]), <_mock._Mock object at 0x7f30bbceb790>: set([<_mock._Mock object at 0x7f30bbceba10>, <_mock._Mock object at 0x7f30bbceb990>, <_mock._Mock object at 0x7f30bbceba50>, <_mock._Mock object at 0x7f30bbceb950>, <_mock._Mock object at 0x7f30bbceb9d0>])}¶ 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'), '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'), 'Macro': (set(['MacroFunction', 'MacroClass']), 'A macro server macro'), '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'), '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