uvex_transients.simulation.photometry_catalog.PhotometryCatalog.get_event#

PhotometryCatalog.get_event(event_id: int) → QTable[source]#

Return this catalog’s photometry rows for a single event.

Just a mask on table’s own event_id column – unlike ~uvex_transients.simulation.event_catalog.EventCatalog.get_events, this doesn’t reconstruct an ~uvex_transients.simulation.event.Event (this catalog holds neither the transient instances nor the schedule that would take); it hands back the raw synthetic-photometry rows already computed for that event.

Parameters:

event_id (int) – The event id to select, as it appears in table’s own event_id column.

Returns:

This event’s own rows, in table’s existing order (one row per (observation, band)).

Return type:

astropy.table.QTable

Raises:

KeyError – If event_id isn’t present in this catalog.