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

Allow zoom to be set before mtv in afw Displays for Firefly backend

    XMLWordPrintable

    Details

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

      Description

      A common pattern for using afw.display is to display an image with a zoom level. With the Firefly backend, currently it is necessary to mtv (display) the image and then issue a zoom command. This displays the entire image, which can take some time for large images, and then applies the zoom. This improvement is for the backend to keep track of the last commanded zoom level, and to include it in the call to FIreflyClient.show_fits.

        Attachments

          Issue Links

            Activity

            Hide
            gpdf Gregory Dubois-Felsmann added a comment - - edited

            If you can, I would suggest remembering the most recent pan() command as well.  Even though we don't have an optimized API yet (see DM-14736) for choosing the center point at the time of initial display/ mtv(), this will enable client-side code to be rewritten only once, now, to take advantage of the optimizations.

            Show
            gpdf Gregory Dubois-Felsmann added a comment - - edited If you can, I would suggest remembering the most recent pan() command as well.  Even though we don't have an optimized API yet (see DM-14736 ) for choosing the center point at the time of initial display/ mtv() , this will enable client-side code to be rewritten only once, now, to take advantage of the optimizations.
            Hide
            jbosch Jim Bosch added a comment -

            Looks good!

            Show
            jbosch Jim Bosch added a comment - Looks good!
            Hide
            shupe David Shupe added a comment -

            The implementation in the tickets/DM-14734 branch introduced a typo in a parameter for Firefly, which re-introduced the region overlay problem of DM-14732. A one-line change was made in tickets/DM-14734-postfix branch and pushed to fix this typo.

            Show
            shupe David Shupe added a comment - The implementation in the tickets/ DM-14734 branch introduced a typo in a parameter for Firefly, which re-introduced the region overlay problem of DM-14732 . A one-line change was made in tickets/ DM-14734 -postfix branch and pushed to fix this typo.

              People

              Assignee:
              shupe David Shupe
              Reporter:
              shupe David Shupe
              Reviewers:
              Jim Bosch
              Watchers:
              David Shupe, Gregory Dubois-Felsmann, Jim Bosch, Robert Lupton, Simon Krughoff, Trey Roby, Xiuqin Wu [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.