pyNSID.io.hdf_io.write_nsid_dataset

pyNSID.io.hdf_io.write_nsid_dataset(dataset, h5_group, main_data_name='', verbose=False, **kwargs)[source]

Writes the provided sid dataset as a ‘Main’ dataset with all appropriate linking.

Parameters
  • dataset (sidpy.Dataset) – Dataset to be written to HDF5 in NSID format

  • h5_group (class:h5py.Group) – Parent group under which the datasets will be created

  • main_data_name (String / Unicode) – Name to give to the main dataset. This cannot contain the ‘-’ character Use this to provide better context about the dataset in the HDF5 file

  • verbose (bool, Optional. Default = False) – Whether or not to write logs to standard out

  • kwargs (dict) – additional keyword arguments passed on to h5py when writing data

Return type

h5py dataset