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

design new Footprint API

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Templates:
    • Story Points:
      8
    • Sprint:
      Science Pipelines DM-W15-2, Science Pipelines DM-S15-1
    • Team:
      Data Release Production

      Description

      This issue is for planning (not implementing) some changes to Footprint's interface, including the following:

      • make Footprint immutable
      • create a separate SpanRegion class that holds Spans and provides geometric operators does not hold Peaks or a "region" bbox (Footprint would then hold one of these).
      • many operations currently implemented as free functions should be moved to methods
      • we should switch the container from vector<PTR(Span)> to simply vector<Span>, as Span is nonpolymorphic and at last as cheap to copy as a shared_ptr.

      The output of this issue will be a set of header files that define the new interface, signed off by an SAT design review. Other issues will be responsible for implementing the new interface and fixing code broken by the change.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel