uvex_transients.phase_space.files.read_table#

uvex_transients.phase_space.files.read_table(path: str | Path, what: str) → Table[source]#

Read an ECSV file of a map.

Parameters:
  • path (str or pathlib.Path) – The file.

  • what (str) – What the table is needed for, which the error says if the file is missing.

Returns:

The table, with its header in meta.

Return type:

Table

Raises:

FileNotFoundError – If the file does not exist.