We are using HEALPy's query_polygon because it validates that the polygon is convex, and fine filtering using lsst.sphgeom requires it. Trying to migrate away from HEALPy, we should check if we can replace it with MOCpy's implementation - from_polygon - and handle the validation differently.
We are using HEALPy's
query_polygon
because it validates that the polygon is convex, and fine filtering usinglsst.sphgeom
requires it. Trying to migrate away from HEALPy, we should check if we can replace it with MOCpy's implementation -from_polygon
- and handle the validation differently.