raw_data_to_hdf5

specatalog.data_management.measurement_management.raw_data_to_hdf5(ms_id, fmt)[source]

Write all data from the raw data datafiles in the archive at <base_dir>/data/M<ms_id>/raw/ to the hdf5-file <base_dir>/data/M<ms_id>/measurement.h5

The datasets are saved as arrays in the group ‘raw_data’.

Parameters:
  • ms_id (Union[str, int]) – Measurement ID number.

  • fmt (Literal["bruker_bes3t", "cw_epr", "uvvis_ulm", "uvvis_freiburg"]) – Data format identifier.

Raises:

ValueError – If format is unknown or required files are missing.

Return type:

None