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

Correct amplifier gain values in LsstCamMapper

    XMLWordPrintable

    Details

      Description

       

      The gain values for corner wavefront sensor amplifiers are the same for intra and extra-focal parts in LsstCam (obs_lsst version 

      19.0.0-110-ga0aedc1+4ecf52c8e0,  w2020_48 ) :

       

      from lsst.obs.lsst import LsstCam
      camera = LsstCam().getCamera()
      detectorExtra = camera.get('R00_SW0')
      detectorIntra = camera.get('R00_SW1')
      for amp in detectorExtra : 
          print(amp.getName(), amp.getGain())
      for amp in detectorIntra : 
          print(amp.getName(), amp.getGain())
      

      yields 

      C10 1.679
      C11 1.738
      C12 1.584
      C13 1.689
      C14 1.782
      C15 1.788
      C16 1.596
      C17 1.725
       
      C10 1.679
      C11 1.738
      C12 1.584
      C13 1.689
      C14 1.782
      C15 1.788
      C16 1.596
      C17 1.725
      

       

      They used to be  different, as in PhosimMapper: 

      from lsst.obs.lsst.phosim import PhosimMapper
      camera  = PhosimMapper().camera
      detector = camera.get('R00_S22')
      for amp in detector : 
          print(amp.getName(), amp.getGain())
      

      yields  

      C10 1.66
      C11 1.737
      C12 1.804
      C13 1.753
      C14 1.712
      C15 1.653
      C16 1.619
      C17 1.671
       
      C07 1.679
      C06 1.738
      C05 1.584
      C04 1.689
      C03 1.782
      C02 1.788
      C01 1.596
      C00 1.725
      

      The C00:C07 in PhosimMapper are SW1, intra-focal, and C10:C17 are SW0, extra-focal. The makeGainImages.py used to make calibration files for PhoSim depends on these values to be the same between the mapper and the segmentation.txt used by PhoSim to determine amplifier gain. 

       

        Attachments

          Issue Links

            Activity

            Hide
            ksuberlak Krzysztof Suberlak added a comment - - edited
            Show
            ksuberlak Krzysztof Suberlak added a comment - - edited It is addressed by Robert's DM-28553 ( https://github.com/lsst/obs_lsst/pull/286 ) and Craig's DM-28919 ( https://github.com/lsst/obs_lsst/pull/292 )

              People

              Assignee:
              ksuberlak Krzysztof Suberlak
              Reporter:
              ksuberlak Krzysztof Suberlak
              Watchers:
              Krzysztof Suberlak, Robert Lupton, Simon Krughoff
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins Builds

                  No builds found.