convert_ithera_msot_binary_to_hdf5

convert_ithera_msot_binary_to_hdf5#

patato.io.hdf5_converter.convert_ithera_msot_binary_to_hdf5(input_path: str, output_path: str, update: bool = False, use_user_defined_scan_name: bool = False)[source]#

This method converts all iThera MSOT files in a folder and exports them to an HDF5 format.

Parameters:
  • use_user_defined_scan_name – Use a user defined scan name instead of the ithera number.

  • input_path – A string that represents a directory. In this directory, a bunch of data is located in individual folders following this naming convention: “Scan_N/” with N being an incrementing unique integer.

  • output_path – The output path is a string representing a directory path pointing to the location where the resulting hdf5 files should be stored.

  • update – if True, the file will be processed again, even if an hdf5 file containing raw data with the desired output name already exists at the output_path location.