25 from .interface
import getDisplay
as _getDisplay, getDefaultBackend, setDefaultBackend
27 from .interface
import BLACK, RED, GREEN, BLUE, CYAN, MAGENTA, YELLOW, WHITE
34 getDisplay = _getDisplay
35 except Exception
as e:
49 self.
exception =
type(exception)(f
"{exception} (is display_ds9 setup?)")
66 return _getDisplay(
None, create=
True).
Buffering()
93 def mtv(data, frame=None, title="", wcs=None, *args, **kwargs):
94 return getDisplay(frame, create=
True).
mtv(data, title, wcs, *args, **kwargs)
101 def dot(symb, c, r, frame=None, size=2, ctype=None, origin=afwImage.PARENT, *args, **kwargs):
102 return getDisplay(frame, create=
True).
dot(symb, c, r, size, ctype, origin, *args, **kwargs)
105 def line(points, frame=None, origin=afwImage.PARENT, symbs=False, ctype=None, size=0.5):
106 return getDisplay(frame, create=
True).
line(points, origin, symbs, ctype, size)
109 def scale(algorithm, min, max=None, frame=None):
113 def pan(colc=None, rowc=None, frame=None, origin=afwImage.PARENT):
116 disp.pan(colc, rowc, origin)
119 def zoom(zoomfac=None, colc=None, rowc=None, frame=None, origin=afwImage.PARENT):
123 disp.pan(colc, rowc, origin)
130 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)
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...