uvex_transients.simulation.exposure_catalog.ExposureCatalog.from_disk#

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

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

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

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

Returns:

Exposure catalog reconstructed from the serialized table and metadata.

Return type:

ExposureCatalog