labscript_utils.properties

Functions

deserialise(value)

get(h5_file, device_name, location)

get_attribute(group, name)

Return the attribute of the given name from the given HDF5 group, deserialising it if it has been encoded as JSON

get_attributes(group)

Return attributes of a HDF5 group as a dict, deserialising any that have been encoded as JSON

is_json(value)

serialise(value)

set_attributes(group, attributes)

Add attributes to a HDF5 group, serialising them to JSON if they do not map to native HDF5 datatypes

set_device_properties(h5_file, device_name, …)