30 from .interface
import getDisplay
as _getDisplay, setDefaultBackend
32 from .interface
import BLACK, RED, GREEN, BLUE, CYAN, MAGENTA, YELLOW, WHITE
38 getDisplay = _getDisplay
39 except Exception
as e:
53 self.
exception =
type(exception)(
"%s (is display_ds9 setup?)" % exception)
70 return _getDisplay(
None, create=
True).
Buffering()
97 def mtv(data, frame=None, title="", wcs=None, *args, **kwargs):
98 return getDisplay(frame, create=
True).
mtv(data, title, wcs, *args, **kwargs)
105 def dot(symb, c, r, frame=None, size=2, ctype=None, origin=afwImage.PARENT, *args, **kwargs):
106 return getDisplay(frame, create=
True).
dot(symb, c, r, size, ctype, origin, *args, **kwargs)
109 def line(points, frame=None, origin=afwImage.PARENT, symbs=False, ctype=None, size=0.5):
110 return getDisplay(frame, create=
True).
line(points, origin, symbs, ctype, size)
113 def scale(algorithm, min, max=None, frame=None):
117 def pan(colc=None, rowc=None, frame=None, origin=afwImage.PARENT):
120 disp.pan(colc, rowc, origin)
123 def zoom(zoomfac=None, colc=None, rowc=None, frame=None, origin=afwImage.PARENT):
127 disp.pan(colc, rowc, origin)
134 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)