pyNSID.io.hdf_io.create_empty_dataset¶
- pyNSID.io.hdf_io.create_empty_dataset(shape, h5_group, name='nDIM_Data')[source]¶
returns a h5py.Dataset filled with zeros according to required shape list.
- Parameters
shape (list) – List of integers denoting the shape of the main dataset
h5_group (h5py.Group) – HDF5 group into which the datasets will be written into
name (str, optional. Default: "nDIM_Data") – Name of the main HDF5 dataset
- Returns
HDF5 dataset of desired shape written according to NSID format
- Return type