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

            No builds found.
            ksuberlak Krzysztof Suberlak created issue -
            ksuberlak Krzysztof Suberlak made changes -
            Field Original Value New Value
            Link This issue has to be done before DM-26836 [ DM-26836 ]
            ksuberlak Krzysztof Suberlak made changes -
            Description  

            The gain values for corner wavefront sensor amplifiers are the same for intra and extra-focal parts:

             
            {code:java}
            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())
            {code}
            yields 

             

             
            {code:java}
            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
            {code}
             

             

            They used to be  different, as in PhosimMapper: 

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

             

             
            {code:java}
            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
            {code}
            The C00:C07 in PhosimMapper are SW1, intra-focal, and C10:C17 are SW0, extra-focal. The [makeGainImages.py|https://github.com/lsst-dm/phosim_utils/blob/master/bin.src/makeGainImages.py] used to make calibration files for PhoSim depends on these values to be the same between the mapper and the [segmentation.txt|https://github.com/lsst-ts/phosim_syseng4/blob/aos/data/lsst/segmentation.txt] used by PhoSim to determine amplifier gain. 

             
             

            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 ) :

             
            {code:java}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())
            {code}
            yields 
            {code:java}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
            {code}
             

            They used to be  different, as in PhosimMapper: 
            {code:java}from lsst.obs.lsst.phosim import PhosimMapper
            camera = PhosimMapper().camera
            detector = camera.get('R00_S22')
            for amp in detector :
                print(amp.getName(), amp.getGain())
            {code}
            yields  
            {code:java}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
            {code}
            The C00:C07 in PhosimMapper are SW1, intra-focal, and C10:C17 are SW0, extra-focal. The [makeGainImages.py|https://github.com/lsst-dm/phosim_utils/blob/master/bin.src/makeGainImages.py] used to make calibration files for PhoSim depends on these values to be the same between the mapper and the [segmentation.txt|https://github.com/lsst-ts/phosim_syseng4/blob/aos/data/lsst/segmentation.txt] used by PhoSim to determine amplifier gain. 

             
            ksuberlak Krzysztof Suberlak made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            ksuberlak Krzysztof Suberlak made changes -
            Link This issue has to be done before DM-26836 [ DM-26836 ]
            ksuberlak Krzysztof Suberlak made changes -
            Link This issue is child task of DM-28556 [ DM-28556 ]
            ksuberlak Krzysztof Suberlak made changes -
            Epic Link DM-28335 [ 445220 ]
            Team DM Science [ 12218 ] Telescope and Site [ 13500 ]
            Urgent? on off
            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 )
            ksuberlak Krzysztof Suberlak made changes -
            Link This issue is duplicated by DM-28553 [ DM-28553 ]
            ksuberlak Krzysztof Suberlak made changes -
            Resolution Done [ 10000 ]
            Status In Progress [ 3 ] Done [ 10002 ]
            ajc Andrew Connolly made changes -
            Assignee Krzysztof Suberlak [ ksuberlak ]
            ajc Andrew Connolly made changes -
            Story Points 3

              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

                  No builds found.