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

Apply crosstalk correction in decam

    XMLWordPrintable

    Details

    • Story Points:
      12
    • Epic Link:
    • Sprint:
      Alert Production F17 - 7, Alert Production F17 - 8, AP S18-2, AP S18-3, AP S18-4
    • Team:
      Alert Production

      Description

      We have the crosstalk coefficients for DECam, but do not apply them by default. This is an obvious problem for images with saturated stars. We should turn that correction on by default, and if possible port the solution to ip_isr.

        Attachments

          Issue Links

            Activity

            Hide
            mrawls Meredith Rawls added a comment -

            I like this idea, but I don't think the source-gathering method is generic enough to work for other cameras. prepCrosstalk uses visit and ccdnum explicitly to retrieve source image data, and it also assumes each detector has two amps named A and B. I thought DECam was a pretty unique situation with all the inter-CCD crosstalk so prepCrosstalk might not be applicable for other cameras anyway.

            Show
            mrawls Meredith Rawls added a comment - I like this idea, but I don't think the source-gathering method is generic enough to work for other cameras. prepCrosstalk  uses visit and ccdnum explicitly to retrieve source image data, and it also assumes each detector has two amps named A and B. I thought DECam was a pretty unique situation with all the inter-CCD crosstalk so prepCrosstalk might not be applicable for other cameras anyway.
            Hide
            krughoff Simon Krughoff added a comment -

            I'm not recommending that you move your function into ip_isr. I'm just recommending that you add the following to CrosstalkTask:

            def prepCrosstalk(self, dataRef):
                return
            

            and change the run signature in CrosstalkTask to:

            def run(self, exposure, crosstalkInfo=None):
            

            and add a call to self.crosstalk.prepCrosstalk(dataRef) in IsrTask.readIsrData().

            Then you can override prepCrosstalk in obs_decam, but so can others.

            Show
            krughoff Simon Krughoff added a comment - I'm not recommending that you move your function into ip_isr . I'm just recommending that you add the following to CrosstalkTask : def prepCrosstalk( self , dataRef): return and change the run signature in CrosstalkTask to: def run( self , exposure, crosstalkInfo = None ): and add a call to self.crosstalk.prepCrosstalk(dataRef) in IsrTask.readIsrData() . Then you can override prepCrosstalk in obs_decam , but so can others.
            Hide
            mrawls Meredith Rawls added a comment -

            Oh I see, this would make a custom readIsrData in obs_decam unnecessary - nice. Thanks for clarifying, will do.

            Show
            mrawls Meredith Rawls added a comment - Oh I see, this would make a custom readIsrData in obs_decam unnecessary - nice. Thanks for clarifying, will do.
            Hide
            mrawls Meredith Rawls added a comment -

            I think I've addressed all your concerns now Simon Krughoff. Please let me know if I missed something. I've rebased on master, squashed some commits, and started a Jenkins run: https://ci.lsst.codes/job/stack-os-matrix/27696/display/redirect. 

            Show
            mrawls Meredith Rawls added a comment - I think I've addressed all your concerns now Simon Krughoff . Please let me know if I missed something. I've rebased on master, squashed some commits, and started a Jenkins run: https://ci.lsst.codes/job/stack-os-matrix/27696/display/redirect.  
            Hide
            krughoff Simon Krughoff added a comment -

            I have one small cleanup I'd like to see in ip_isr, but otherwise it all looks good.

            Show
            krughoff Simon Krughoff added a comment - I have one small cleanup I'd like to see in ip_isr , but otherwise it all looks good.

              People

              Assignee:
              mrawls Meredith Rawls
              Reporter:
              krughoff Simon Krughoff
              Reviewers:
              Simon Krughoff
              Watchers:
              David Reiss, Eric Bellm, Meredith Rawls, Paul Price, Simon Krughoff
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.