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

Plot old/new jointcal WCS vs. tangent plane

    Details

      Description

      To better understand the jointcal WCS vs. the original single frame TAN-SIP, we need quiver and heatmap plots of each WCS (old and new) separately vs. a tangent_pixel or related "non-distorted" projection. This will let us compare the original single frame fit with jointcal's fit.

      This probably could be done with CameraGeom, but would be easier with the upcoming new WCS/transform system, since it may involve pulling out a new Frame.

        Attachments

          Activity

          Hide
          Parejkoj John Parejko added a comment -

          Comment on this topic from @rhl:

          import lsst.afw.cameraGeom.utils as cgUtils
          cgUtils.plotFocalPlane(hsc)

          @parejkoj This should work to plot your focal plane in matplotlib. There's also cgUtils.showCamera(comCam, overlay=True, display=disp) but there are changes in Wcs that make it fail (setting the Wcs to None in the python is a workaround – there problem is that the Wcs object now insists on a "proper" Coord, and doesn't understand a simple cartesian WCS. Yes, this needs fixing)

          I noticed that this isn't in the cameraGeom doxygen, where there's a reference to something in lsst_sims instead. This needs fixing too.

          Show
          Parejkoj John Parejko added a comment - Comment on this topic from @rhl: import lsst.afw.cameraGeom.utils as cgUtils cgUtils.plotFocalPlane(hsc) @parejkoj This should work to plot your focal plane in matplotlib. There's also cgUtils.showCamera(comCam, overlay=True, display=disp) but there are changes in Wcs that make it fail (setting the Wcs to None in the python is a workaround – there problem is that the Wcs object now insists on a "proper" Coord, and doesn't understand a simple cartesian WCS. Yes, this needs fixing) I noticed that this isn't in the cameraGeom doxygen, where there's a reference to something in lsst_sims instead. This needs fixing too.

            People

            • Assignee:
              Parejkoj John Parejko
              Reporter:
              Parejkoj John Parejko
              Watchers:
              John Parejko, Lauren MacArthur, Russell Owen, Simon Krughoff
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel