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

FitSipDistortionTask needs tests and has an assertion error

    Details

    • Type: Story
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: meas_astrom
    • Labels:
      None
    • Templates:
    • Team:
      Data Release Production

      Description

      FitSipDistortionTask has no unit tests. Since it is intended as a drop-in replacement for FitTanSipWcsTask it should be trivial to copy existing tests of FitTanSipWcsTask and use FitSipDistortionTask instead.

      I tried this with test_fitTanSipWcsTask.py and found a serious issue:

       Assertion failed: (static_cast<std::size_t>(nGood + nClip) == _data.size()), function rejectOutliers, file src/ScaledPolynomialTransformFitter.cc, line 470.
      

      Also FitTanSipWcsConfig has a field numIter and FitSipDistortionConfig does not.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rowen Russell Owen
                Watchers:
                Jim Bosch, John Swinbank, Russell Owen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel