utils.files.input.parse_result_file

utils.files.input.parse_result_file(file_path: str, separator: str = '\t') tuple

This functions parses the discretised output file to retreive the first three colunms. It is used to extract the means of x y z for the consistency check.

Parameters:
  • file_path – Path of the file

  • separator – chars used to separate the values

Returns:

x, y, z

Example:

>>> parse_result_file("test.txt")
([1.0, 2.0, 3.0], [1.0, 2.0, 3.0], [1.0, 2.0, 3.0])