uvex_transients.simulation.event_catalog.EventCatalog.from_disk#

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

Read an event catalog back from disk, as written by to_disk().

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

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

Returns:

Event catalog reconstructed from the serialized table and metadata.

Return type:

EventCatalog