Uploaded image for project: 'DRP 2-D Pipeline'
  1. DRP 2-D Pipeline
  2. PIPE2D-430

Interpolate over negative variances

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Open (View Workflow)
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      2DDRP-2019 E, 2DDRP-2021 A 8, 2DDRP-2021 A 10

      Description

      In PIPE2D-427, we fixed a negative variance in the post-ISR image by masking it and setting the variance to inf. @rhl writes:

      The problem is that the variance is being calculated after bias and dark subtraction as the number of photons. Firstly, the dark current must be included in the variance (maybe this was a typo?). More importantly, the variance shouldn't be the measured number of photons but its expectation value.

      Masking pixels that end up negative biases the image, and this is a problem. I think that we won't need to do any masking; if we do, we need to think harder about the consequences.

      Even if the pixel must be taken as bad (which is not, I think, correct) please do not set the variance to infinity; that causes biases too. You should interpolate the variance at the same time as interpolating the image (and setting BAD).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                price price
                Reporter:
                price price
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: