Refactor the image display code to remove explicit references to ds9

Description

The current stack image display code assumes that you're talking to ds9:

As the IPAC team thinks about supporting firefly, and ginga gains traction in the scipy world, we need replace this interface with something more general.

In the longer run we need to decide what APIs we need to support, but this is hard to do until we have more than one backend. This RFC proposes that we change the interface to something like:

It would be possible to hoist these methods to lsst.afw.display itself:

A discussion of the pros and cons is in scope for the RFC.

The choice of backend (in this case ds9) should be configurable either explicitly, as illustrated here, or via some deus ex machina technique (a dot file, an environment variable, ...). I put the backend choice explicitly in the examples, but I would not expect this to appear in utility code.

Checklist

Lucidchart Diagrams

Issue Matrix

hide

Activity

Show:
Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Planned End

Location (migrated)

Components

Checklist

Created April 11, 2015 at 12:02 PM
Updated January 17, 2017 at 5:44 PM
Resolved April 24, 2015 at 12:41 PM