qmi.data.dataset.write_dataset_to_text
- qmi.data.dataset.write_dataset_to_text(dataset: DataSet, fh: TextIO) None
Write the specified dataset to a text file.
Note that this function may create additional supporting datasets in the HDF5 group if the DataSet instance uses axis scales. In this case, HDF5 datasets named “<datasetname>_axisN_scale” will be created in addition to the main dataset.
- Parameters:
dataset – DataSet instance to write to HDF5.
fh – File handle open for writing in text mode.