create_dataset#
- gwpy.io.hdf5.create_dataset( ) Dataset[source]#
Create a new dataset inside the parent HDF5 object.
- Parameters:
- parent
h5py.Group,h5py.File the object in which to create a new dataset
- path
str the path at which to create the new dataset
- overwrite
bool if
True, delete any existing dataset at the desired path, default:False- **kwargs
other arguments are passed directly to
h5py.Group.create_dataset()
- parent
- Returns:
- dataset
h5py.Dataset the newly created dataset
- dataset