uvex_transients.simulation.yield_table.YieldTable.from_disk#

classmethod YieldTable.from_disk(path: str | Path, table_format: str | None = None) → YieldTable[source]#

Read a yield table back from disk, as written by to_disk().

Parameters:
  • path (str or Path) – Path to the table, as written by to_disk().

  • table_format (str, optional) – Passed through to read(); if None, inferred from path’s suffix.

Returns:

Yield table reconstructed from the serialized table and metadata.

Return type:

YieldTable