Datasets¶
This is data set class. It has class exdir.core.Dataset:
- class exdir.core.Dataset(root_directory, parent_path, object_name, file)[source]¶
Bases:
ObjectDataset class
Warning
This class modifies the view and it is possible to overwrite an existing dataset, which is different from the behavior in h5py.
- property data¶
Property that gives access the entire dataset. Equivalent to calling
dataset[:].- Returns:
The entire dataset.
- Return type:
numpy.memmap
- property dtype¶
The NumPy data type of the dataset. Equivalent to calling
dataset[:].dtype.- Returns:
The NumPy data type of the dataset.
- Return type:
numpy.dtype
- property shape¶
The shape of the dataset. Equivalent to calling
dataset[:].shape.- Returns:
The shape of the dataset.
- Return type:
tuple
- property size¶
The size of the dataset. Equivalent to calling
dataset[:].size.- Returns:
The size of the dataset.
- Return type:
np.int64
- property value¶
Convenience alias for the
dataproperty.Warning
This property is only provided as a convenience to make the API interoperable with h5py. We recommend to use
datainstead ofvalue.