h5rdmtoolbox.convention.StandardAttribute.set#
- StandardAttribute.set(parent, value, attrs=None)[source]#
Write value to attribute of parent
- Parameters:
parent (
h5py.File,h5py.Group,h5py.Dataset) – The parent object to which the attribute is writtenvalue (
any) – The value to write to the attribute. The value is validated before it is written.attrs (
dict,optional=None) – Other attributes to be set. This is used during dataset creation only.