uvex_transients.simulation.event_catalog.EventCatalog.in_footprint#

EventCatalog.in_footprint(footprint: SurveyFootprint | str) → ndarray[source]#

Mask of events whose sky position lies inside a footprint.

One vectorized MOC lookup over every event, so no per-event loop is needed.

Parameters:

footprint (SurveyFootprint or str) – A footprint or its registered name (e.g. "lsst:combined").

Returns:

Boolean mask, shape (n_events,), aligned with the catalog rows. Use it to index table or any per-event array.

Return type:

numpy.ndarray

Raises:

KeyError – If footprint is a name that is not registered.