Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-19235

Add numpy-vectorized sphgeom predicates

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: geom, sphgeom
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Team:
      Data Release Production

      Description

      Sophie Reed and I found some code on DM-15514 that could be simplified a lot by using sphgeom.ConvexPolygon - but only if we could afford to call it in a Python loop, which we probably can't.  We should add pybind11 methods that let us invoke ConvexPolygon.contains on NumPy arrays of ra and dec to enable that simplification.

        Attachments

          Activity

            People

            • Assignee:
              jbosch Jim Bosch
              Reporter:
              jbosch Jim Bosch
              Watchers:
              Jim Bosch, Sophie Reed
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel