uvex_transients.surveys.footprints.base.FootprintRegistry.match#

FootprintRegistry.match(ra, dec, names: Iterable[str]) → dict[str, ndarray][source]#

Test sky positions against several footprints.

Parameters:
  • ra (float or array-like) – Positions in degrees (ICRS); see SurveyFootprint.contains.

  • dec (float or array-like) – Positions in degrees (ICRS); see SurveyFootprint.contains.

  • names (Iterable of str) – Full names of the footprints to test.

Returns:

Each name mapped to its SurveyFootprint.contains mask.

Return type:

dict of str to numpy.ndarray

Raises:

KeyError – If a name is not registered.