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

Apply pan and scale at time of image display in display_firefly

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: display_firefly
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      SUIT Sprint 2018-08
    • Team:
      Science User Interface

      Description

      To improve performance of image display in Firefly, allow an afwDisplay instance with the Firefly backend to track display.scale and display.pan settings that precede display.mtv, and apply these at the time of image display. Also add a small correction to the pan method so that it uses the LSST pixel coordinate convention.

      Implemented:

      Modify the display_firefly backend to remember the results of scale (stretch) commands, and to apply scale and pan parameters when displaying an image with lsst.afw.display.mtv.

      • Remember and apply the serialized RangeValues string that Firefly uses
      • Correct pan command by 0.5 pixels to follow LSST convention
      • Apply the remembered pan position when using mtv
      • Make 'slate.html' the default if it is not passed explicitly or if the environment variable FIREFLY_HTML is not defined. This is necessary for Firefly to show readout of LSST pixel convention.

        Attachments

          Issue Links

            Activity

            shupe David Shupe created issue -
            shupe David Shupe made changes -
            Field Original Value New Value
            Epic Link DM-14499 [ 84664 ]
            shupe David Shupe made changes -
            Link This issue is blocked by DM-15215 [ DM-15215 ]
            shupe David Shupe made changes -
            Risk Score 0
            shupe David Shupe made changes -
            Link This issue is contained by DM-14736 [ DM-14736 ]
            shupe David Shupe made changes -
            Link This issue relates to DM-14734 [ DM-14734 ]
            shupe David Shupe made changes -
            Description To improve performance of image display in Firefly, allow an afwDisplay instance with the Firefly backend to track {{display.scale}} and {{display.pan}} settings that precede {{display.mtv}}, and apply these at the time of image display. To improve performance of image display in Firefly, allow an afwDisplay instance with the Firefly backend to track {{display.scale}} and {{display.pan}} settings that precede {{display.mtv}}, and apply these at the time of image display. Also add a small correction to the pan method so that it uses the LSST pixel coordinate convention.
            shupe David Shupe made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            shupe David Shupe made changes -
            Remote Link This issue links to "firefly_client pull request (Web Link)" [ 17817 ]
            shupe David Shupe made changes -
            Reviewers Tatiana Goldina [ tatianag ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            tatianag Tatiana Goldina made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            xiuqin Xiuqin Wu [X] (Inactive) made changes -
            Description To improve performance of image display in Firefly, allow an afwDisplay instance with the Firefly backend to track {{display.scale}} and {{display.pan}} settings that precede {{display.mtv}}, and apply these at the time of image display. Also add a small correction to the pan method so that it uses the LSST pixel coordinate convention. To improve performance of image display in Firefly, allow an afwDisplay instance with the Firefly backend to track {{display.scale}} and {{display.pan}} settings that precede {{display.mtv}}, and apply these at the time of image display. Also add a small correction to the pan method so that it uses the LSST pixel coordinate convention.

            Implemented:

            Modify the {{display_firefly}} backend to remember the results of scale (stretch) commands, and to apply scale and pan parameters when displaying an image with {{lsst.afw.display.mtv}}.
             * Remember and apply the serialized RangeValues string that Firefly uses
             * Correct pan command by 0.5 pixels to follow LSST convention
             * Apply the remembered pan position when using {{mtv}}
             * Make {{'slate.html'}} the default if it is not passed explicitly or if the environment variable {{FIREFLY_HTML}} is not defined. This is necessary for Firefly to show readout of LSST pixel convention.
            shupe David Shupe made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            xiuqin Xiuqin Wu [X] (Inactive) made changes -
            Epic Link DM-14499 [ 84664 ] DM-8771 [ 28610 ]

              People

              Assignee:
              shupe David Shupe
              Reporter:
              shupe David Shupe
              Reviewers:
              Tatiana Goldina
              Watchers:
              David Shupe, Gregory Dubois-Felsmann, Tatiana Goldina, Trey Roby, Xiuqin Wu [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.