tomoscan.esrf.volume.utils.guess_hdf5_volume_data_paths

tomoscan.esrf.volume.utils.guess_hdf5_volume_data_paths(file_path, data_path='/', depth=3) tuple

browse hdf5 file ‘file_path’ from ‘data_path’ on ‘depth’ level and check for possible defined volumes.

Parameters:
  • file_path (str) – file path to the hdf5 file to browse

  • data_path (str) – path in the file to start research

  • depth (int) – on which layer we should apply research

Returns:

tuple of data_path that could fit a volume

Return type:

tuple