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

Add ability to do both serial and parallel overscan correction

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ip_isr
    • Labels:
      None
    • Story Points:
      12
    • Epic Link:
    • Team:
      Data Release Production

      Description

      This may require a bit of refactoring of the overscan code, as we currently assume we're only ever working along the one axis.

        Attachments

          Issue Links

            Activity

            Hide
            czw Christopher Waters added a comment -

            The code still needs to be cleaned up (removing print statements, checking some bbox logic works for non-LATISS detectors, etc), but the preliminary results are shown in the attached images, which have matched color bars and scales, and show (clockwise from top left): tl: Current DM code with MEDIAN_PER_ROW; tr: MEDIAN_PER_ROW applied in both serial and parallel directions, no BIAS applied; br: MEDIAN fitting applied in both serial and parallel directions, standard BIAS applied; bl: MEDIAN_PER_ROW applied in both serial and parallel directions, standard BIAS applied.

            My initial look at this shows that if we adopt this as the standard processing, we'll need to regenerate the BIAS/DARK/FLAT to match this, otherwise we'll be double-correcting the horizontal structure (as both the parallel overscan and the BIAS attempt to model this trends).  The zoom suggests that the amplifier boundaries (which have had a "wobble" on the +x edges) are somewhat better corrected by the parallel overscan, so there should be improvement there.  Bad column defects definitely need to be masked better, and the inversion of some of these features suggests we may need to extend those masks into the overscan region (or fully mask the columns).

            Show
            czw Christopher Waters added a comment - The code still needs to be cleaned up (removing print statements, checking some bbox logic works for non-LATISS detectors, etc), but the preliminary results are shown in the attached images, which have matched color bars and scales, and show (clockwise from top left): tl: Current DM code with MEDIAN_PER_ROW; tr: MEDIAN_PER_ROW applied in both serial and parallel directions, no BIAS applied; br: MEDIAN fitting applied in both serial and parallel directions, standard BIAS applied; bl: MEDIAN_PER_ROW applied in both serial and parallel directions, standard BIAS applied. My initial look at this shows that if we adopt this as the standard processing, we'll need to regenerate the BIAS/DARK/FLAT to match this, otherwise we'll be double-correcting the horizontal structure (as both the parallel overscan and the BIAS attempt to model this trends).  The zoom suggests that the amplifier boundaries (which have had a "wobble" on the +x edges) are somewhat better corrected by the parallel overscan, so there should be improvement there.  Bad column defects definitely need to be masked better, and the inversion of some of these features suggests we may need to extend those masks into the overscan region (or fully mask the columns).
            Hide
            price Paul Price added a comment -

            Reviewed on GitHub PR.

            Show
            price Paul Price added a comment - Reviewed on GitHub PR.

              People

              Assignee:
              czw Christopher Waters
              Reporter:
              czw Christopher Waters
              Reviewers:
              Paul Price
              Watchers:
              Andrés Alejandro Plazas Malagón, Christopher Waters, Dominique Boutigny, James Chiang, Merlin Fisher-Levine, Paul Price, Robert Lupton, Thibault Guillemin, Yousuke Utsumi
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.