uvex_transients.simulation.photometry_catalog.PhotometryCatalog.from_disk#

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

Read a photometry catalog back from disk, as written by to_disk().

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

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

Returns:

Photometry catalog reconstructed from the serialized table.

Return type:

PhotometryCatalog