tomoscan.esrf.scan.utils.get_parameters_frm_par_or_info

tomoscan.esrf.scan.utils.get_parameters_frm_par_or_info(file_: str) dict

Create a dictionary from the file with the information name as keys and their values as values

Parameters:

file (str) – path to the file to parse

Raises:

ValueError when fail to parse some line.