mahos.msgs.data_msgs.Data#
- class mahos.msgs.data_msgs.Data#
Base class for measurement data.
- __init__()#
Methods
get_attr_h5(group, key[, default])Get an attribute from hdf5 file or group.
get_attr_h5_exn(group, key)Get an attribute from hdf5 file or group.
has_params()return True if this has meaningful params, i.e., this is not dummy.
init_params(params[, label])Initialize this data with params optional label.
list_attr_h5(group)Get list of the attributes and type names from hdf5 file or group.
note()Get note string attached to this data.
of_h5(group)Create a Data from hdf5 file or group.
set_note(note)Set note string attached to this data.
set_version(version)Set the version of this Data.
set_version_h5(version)Set the HDF5 IO (h5_writers/h5_readers) version of this Data.
to_h5(group[, compression, compression_opts])Write this Data to hdf5 file (root group) or group.
update_params(params)update the params except ident.
version()Get the version of this data.
version_h5()Get the HDF5 IO (h5_writers/h5_readers) version for this data.