uvex_transients.surveys.footprints.base.SurveyFootprint.contains_skycoord#
- SurveyFootprint.contains_skycoord(coord: SkyCoord) ndarray[source]#
Test which positions of a ~astropy.coordinates.SkyCoord fall inside the footprint.
A vectorized MOC lookup, so large catalogs are cheap. Any frame is accepted.
- Parameters:
coord (
SkyCoord) – Scalar or array of positions.- Returns:
Boolean mask with the shape of coord (
(1,)for a scalar).- Return type: