ewoksfluo.gui.data_viewer.ViewerDataset#
- class ewoksfluo.gui.data_viewer.ViewerDataset(name, parent)[source]#
Bases:
Dataset
Proxy to a HDF5 dataset that does not keep the file opened.
- Parameters:
name (
str
)parent (
Union
[ViewerFile
,ViewerGroup
])
- property attrs#
Returns HDF5 attributes of this node.
- Return type:
dict
- property basename#
Returns the HDF5 basename of this node.
- property chunks#
Returns chunks as provided by h5py.Dataset.
There is no chunks.
- property compression#
Returns compression as provided by h5py.Dataset.
There is no compression.
- property compression_opts#
Returns compression options as provided by h5py.Dataset.
There is no compression.
- property dtype#
Returns the numpy datatype exposed by this dataset.
- Return type:
numpy.dtype
- property external#
Returns external sources as provided by h5py.Dataset.
- Return type:
list or None
- property file#
Returns the file node of this node.
- Return type:
Node
- property h5_class#
Returns the HDF5 class which is mimicked by this class.
- Return type:
H5Type
- property h5py_class#
Returns the h5py classes which is mimicked by this class. It can be one of h5py.File, h5py.Group or h5py.Dataset
This should not be used anymore. Prefer using h5_class
- Return type:
Class
- property is_virtual#
Checks virtual data as provided by h5py.Dataset
- property name#
Returns the HDF5 name of this node.
- property ndim#
- property parent#
Returns the parent of the node.
- Return type:
Node
- property shape#
Returns the shape of the data exposed by this dataset.
- Return type:
tuple
- property size#
Returns the size of the data exposed by this dataset.
- Return type:
int
- property value#
Returns the data exposed by this dataset.
Deprecated by h5py. It is prefered to use indexing [()].
- Return type:
numpy.ndarray
- property virtual_sources#
Returns virtual dataset sources as provided by h5py.Dataset.
- Return type:
list