scripts.data.postprocessing.to_etab.to_etab_file

scripts.data.postprocessing.to_etab.to_etab_file(etab_matrix, E_idx, idx_dict, out_path)[source]

Write an .etab file based on the fed in matrix and other indexing factors.

Parameters:
  • etab_matrix (np.ndarray) – Etab outputted by TERMinator

  • E_idx (np.ndarray) – Indexing matrix associated with etab_matrix

  • idx_dict (dict) – Index conversion dictionary outputted by get_idx_dict

  • out_path (str) – Path to write the etab to

Returns:

  • bool – Whether or not the parsing occured without errors

  • out_path (str) – The output path fed in