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 (
SurveyFootprintorstr) – A footprint or its registered name (e.g."lsst:combined").- Returns:
Boolean mask, shape
(n_events,), aligned with the catalog rows. Use it to indextableor any per-event array.- Return type:
- Raises:
KeyError – If footprint is a name that is not registered.