tomoscan.esrf.volume.utils.guess_volumes#

tomoscan.esrf.volume.utils.guess_volumes(path, scheme_to_vol=None, filter_histograms=True)#

from a file path or a folder path try to guess volume(s)

Parameters
  • path – file or folder path

  • scheme_to_vol – dict to know which constructor to call. Key if the scheme, value if the volume constructor. usefull for libraries redefining volume or adding some like tomwer. If none provided will take the tomoscan default one

Returns

tuple of volume