tomwer.core.reconstruction.output.get_output_folder_from_scan#

tomwer.core.reconstruction.output.get_output_folder_from_scan(nabu_location, file_basename, file_format)#
Parameters:
  • nabu_location (str | None) – output location provided by user (in case mode is ‘other’)

  • file_basename (str) – file basename to take in order to create output files

  • file_format (NabuOutputFileFormat) – output volume format (edf…)

Return type:

tuple[str, str]

Returns:

(location, location_cfg_files). Location is the nabu configuration field ‘output/location’ ‘location_cfg_files’ is the information on where to save the nabu configuration file