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

Implement SpanSet+ellipse operations

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
      None

      Description

      Implement the following SpanSet operations:

      • Construct from an ellipse - note geom::ellipses::PixelRegion; this should do most of the work.
      • Compute centroid - see old Footprint implementation
      • Compute shape (quadrupole moments) - see old Footprint implementation

      One complication here is that this will introduce a circular dependency between afw::geom and afw::geom::ellipses. That's easy to address at the C++ level, but it's tricky in Python (which package imports the other?) I'll be emailing dm-devel shortly to start a discussion on how to address this problem.

        Attachments

          Issue Links

            Activity

            Hide
            jbosch Jim Bosch added a comment -

            It might be possible to implement computeCentroid and computeShape more easily once the applyFunctor methods have been added on DM-2427.

            Show
            jbosch Jim Bosch added a comment - It might be possible to implement computeCentroid and computeShape more easily once the applyFunctor methods have been added on DM-2427 .
            Hide
            jbosch Jim Bosch added a comment -

            I see I never did start that conversation about circular dependencies. Please consult Pim Schellart [X] about that; the available solutions probably change with Pybind11 anyway.

            Show
            jbosch Jim Bosch added a comment - I see I never did start that conversation about circular dependencies. Please consult Pim Schellart [X] about that; the available solutions probably change with Pybind11 anyway.
            Hide
            nlust Nate Lust added a comment -

            merged to master

            Show
            nlust Nate Lust added a comment - merged to master

              People

              Assignee:
              nlust Nate Lust
              Reporter:
              jbosch Jim Bosch
              Watchers:
              Jim Bosch, Nate Lust
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  CI Builds

                  No builds found.