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

SourceDetectionTask can corrupt image

    Details

    • Templates:
    • Team:
      Alert Production

      Description

      SourceDetectionTask can silently corrupt the provided exposure by fitting and subtracting an invalid background model that that results in the image being all nans. I believe the task should realize that the background model is invalid and raise an exception in this situation.

      I first saw the problem with an image that had several hundred counts of background. Detection detected a single source and the results were as described. I have attached code demonstrating the issue. Setup `meas_algorithms` and run `showBackgroundBug.py` to see the problem.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Summary Panel