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])

list_attr_h5(group)

Get list of the attributes and type names from hdf5 file or group.

note()

of_h5(group)

Create a Data from hdf5 file or group.

set_note(note)

set_version(version)

set_version_h5(version)

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()

The version of this data.

version_h5()

The version of HDF5 IO (h5_writers / h5_readers) for this data.