secop_ophyd.datatypes.properties#
Datatypes and values of SECoP module and node properties.
Module Contents#
Functions#
Datatype and value with which a SECoP property is exposed as a Signal. |
|
Signal name -> (datatype, value) for the properties of a module. |
|
Data#
API#
- secop_ophyd.datatypes.properties.property_dtype_and_value(prop_val: Any) tuple[frappy.datatypes.DataType, Any][source]#
Datatype and value with which a SECoP property is exposed as a Signal.
Struct/tuple-valued properties (and arrays of them) are exposed as a JSON string: bluesky/TiledWriter cannot store numpy structured arrays.
- secop_ophyd.datatypes.properties.module_property_signals(properties: dict[str, Any]) dict[str, tuple[frappy.datatypes.DataType, Any]][source]#
Signal name -> (datatype, value) for the properties of a module.
A well-formed ‘meaning’ becomes one typed signal per member it has (
meaning_function,meaning_importance, …). Every other property, and a malformed ‘meaning’, is one signal as given by property_dtype_and_value.