add comments at class level
This commit is contained in:
parent
f992edd3e9
commit
52813351be
|
@ -54,21 +54,21 @@ class H5Table(object):
|
||||||
"""
|
"""
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
Interface class for manipulating data in HDF5 with DAMASK
|
Interface/wrapper class for manipulating data in HDF5 with DAMASK
|
||||||
specialized data structure.
|
specialized data structure.
|
||||||
|
-->Minimal API design.
|
||||||
PARAMETERS
|
PARAMETERS
|
||||||
----------
|
----------
|
||||||
h5f_path: str
|
h5f_path: str
|
||||||
Absolute path the HDF5 file
|
Absolute path the HDF5 file
|
||||||
METHOD
|
METHOD
|
||||||
------
|
------
|
||||||
del_entry()
|
del_entry() -- Force delete attributes/group/datasets (Dangerous)
|
||||||
get_attr()
|
get_attr() -- Return attributes if possible
|
||||||
add_attr()
|
add_attr() -- Add NEW attributes to dataset/group (please delete old first!)
|
||||||
get_data()
|
get_data() -- Retrieve data in numpy.ndarray
|
||||||
add_data()
|
add_data() -- Add dataset to H5 file
|
||||||
get_cmdlog()
|
get_cmdlog() -- Return the command used to generate the data if possible.
|
||||||
Return the command used to generate the data if possible.
|
|
||||||
NOTE
|
NOTE
|
||||||
----
|
----
|
||||||
1. As an interface class, it uses the lazy evaluation design
|
1. As an interface class, it uses the lazy evaluation design
|
||||||
|
|
Loading…
Reference in New Issue