Page History
...
Code Block |
---|
DCStore methods
===============
cs.set_tscfile(ts) # set (int) time stamp of the file creation
cs.set_dettype(dettype) # set (str) detector type
cs.set_detid(detid) # set (str) detector id
cs.set_detname(detname) # set (str) detector name of self object
cs.set_predecessor(pred) # set (str) detname of predecessor or None
cs.set_successor(succ) # set (str) detname of successor or None
cs.set_tags(d) # set (dict) dictionary of tags associated with this detector
cs.add_tag(k,v) # add (k,v) add tag to the dictionary of tags associated with this detector
cs.add_ctype(ctype) # add (str) calibration type to the DCStore object
cs.del_tags() # delete tags
cs.del_tag(k) # delete tag with key k
cs.del_ctype(ctype) # delete ctype from the DCStore object
DCType methods
==============
ctg.set_tags(d) # set (dict) dictionary of tags for DCType object
ctg.add_tag(k,v) # add (k,v) tag to the dictionary of tags for DCType object
ctg.add_range(tsr) # add (str) of time ranges for ctype
ctg.del_tags() # delete tags
ctg.del_tag(k) # delete tag with key k
ctg.del_range(tsr) # delete ctype from the DCType object
DCRange methods
===============
DCVersion methods
================= |
...
tsrg.set_tags(d) # set (dict) dictionary of tags associated with time stamp range
tsrg.add_tag(k,v) # add (k,v) tag to the dictionary of tags for DCType object
tsrg.set_begin(tsbegin) # set (int) time stamp beginning validity range
tsrg.set_end(tsend) # set (int) time stamp ending validity range
tsrg.add_version(vers) # set (DCVersion ~ h5py.Group) versions of calibrations
tsrg.set_versdef(vers) # set (DCVersion ~ h5py.Group) versions of calibrations
tsrg.del_version(vers) # delete version
tsrg.del_tags() # delete tags
tsrg.del_tag(k) # delete tag with key k
DCVersion methods
=================
versg.set_tags(d) # set (dict) dictionary of tags associated with DCVersion object
versg.add_tag(k,v) # add (k,v) tag to the dictionary of tags for DCVersion object
versg.set_tsprod(tsprod) # set (int) time stamp of the version production
versg.add_calib(nda) # set (np.array) calibration array
versg.del_tags() # delete tags
versg.del_tag(k) # delete tag with key k |
*
Data and metadata in tags
...
Overview
Content Tools