new_dataset_to_hdf5

specatalog.data_management.measurement_management.new_dataset_to_hdf5(data, hdf5_path, group_name, dataset_name)[source]

Write a new dataset to a hdf5-file.

Parameters:
  • data (np.ndarray) – An array of data points. If data = None nothing is written to the file.

  • hdf5_path (str) – Path to the hdf5-file.

  • group_name (str) – Name of the group.

  • dataset_name (str) – Name of the dataset.

Return type:

None.