SciFiReaders.readers.SID.Nsid_writer#
NSIDWriter - mirror of NSIDReader
Writes sidpy.Dataset objects to HDF5 in NSID (pyNSID-style) format such that SciFiReaders.readers.SID.Nsid_reader.NSIDReader can read them back.
Key compatibility requirements (enforced here): - Main dataset must have attrs: quantity, units, main_data_name, pyNSID_version,
data_type, modality, source
Each axis must be stored as a dataset in the same parent group, whose name matches the HDF5 dimension label, and must have attrs: name, quantity, units, dimension_type
Dimension labels MUST be unique (sidpy will error otherwise on readback)
@author: Boris Slautin
Classes
Write sidpy.Dataset (or mapping of name -> Dataset) to HDF5 in NSID format. |