labscript_utils.properties¶
-
labscript_utils.properties.
_decode_bytestrings
(o)[source]¶ Decode all base64-encoded values (not keys) to bytestrings
-
labscript_utils.properties.
_encode_bytestrings
(o)[source]¶ Encode all bytestring values (not keys) to base64 with a prefix
-
labscript_utils.properties.
get_attribute
(group, name)[source]¶ Return the attribute of the given name from the given HDF5 group, deserialising it if it has been encoded as JSON
-
labscript_utils.properties.
get_attributes
(group)[source]¶ Return attributes of a HDF5 group as a dict, deserialising any that have been encoded as JSON