28 from __future__
import absolute_import, division, print_function
32 from .interface
import getDisplay
as _getDisplay, setDefaultBackend
38 getDisplay = _getDisplay
39 except Exception
as e:
53 self.
exception = type(e)(
"%s (is display_ds9 setup?)" % e)
70 from lsst.afw.display import BLACK, RED, GREEN, BLUE, CYAN, MAGENTA, YELLOW, WHITE
74 return _getDisplay(
None, create=
True).
Buffering()
101 def mtv(data, frame=None, title="", wcs=None, *args, **kwargs):
102 return getDisplay(frame, create=
True).
mtv(data, title, wcs, *args, **kwargs)
109 def dot(symb, c, r, frame=None, size=2, ctype=None, origin=afwImage.PARENT, *args, **kwargs):
110 return getDisplay(frame, create=
True).
dot(symb, c, r, size, ctype, origin, *args, **kwargs)
113 def line(points, frame=None, origin=afwImage.PARENT, symbs=False, ctype=None, size=0.5):
114 return getDisplay(frame, create=
True).
line(points, origin, symbs, ctype, size)
117 def scale(algorithm, min, max=None, frame=None):
121 def pan(colc=None, rowc=None, frame=None, origin=afwImage.PARENT):
124 disp.pan(colc, rowc, origin)
127 def zoom(zoomfac=None, colc=None, rowc=None, frame=None, origin=afwImage.PARENT):
131 disp.pan(colc, rowc, origin)
138 def setCallback(k, func=lsst.afw.display.noop_callback, noRaise=False, frame=None):
def __init__(self, exception)
def getActiveCallbackKeys(onlyActive=True, frame=None)
def scale(algorithm, min, max=None, frame=None)
def setMaskTransparency(name, frame=None)
def __call__(self, args, kwargs)
def dot(symb, c, r, frame=None, size=2, ctype=None, origin=afwImage.PARENT, args, kwargs)
def pan(colc=None, rowc=None, frame=None, origin=afwImage.PARENT)
def zoom(zoomfac=None, colc=None, rowc=None, frame=None, origin=afwImage.PARENT)
def setDefaultBackend(backend)
def mtv(data, frame=None, title="", wcs=None, args, kwargs)
def line(points, frame=None, origin=afwImage.PARENT, symbs=False, ctype=None, size=0.5)
def setCallback(k, func=lsst.afw.display.noop_callback, noRaise=False, frame=None)
def getMaskPlaneColor(name, frame=None)
def getMaskTransparency(name, frame=None)
def setMaskPlaneColor(name, color=None, frame=None)