24 from .interface
import getDisplay
as _getDisplay, getDefaultBackend, setDefaultBackend
26 from .interface
import BLACK, RED, GREEN, BLUE, CYAN, MAGENTA, YELLOW, WHITE
33 getDisplay = _getDisplay
34 except Exception
as e:
48 self.
exceptionexception =
type(exception)(f
"{exception} (is display_ds9 setup?)")
65 return _getDisplay(
None, create=
True).
Buffering()
92 def mtv(data, frame=None, title="", wcs=None, *args, **kwargs):
93 return getDisplay(frame, create=
True).
mtv(data, title, wcs, *args, **kwargs)
100 def dot(symb, c, r, frame=None, size=2, ctype=None, origin=afwImage.PARENT, *args, **kwargs):
101 return getDisplay(frame, create=
True).
dot(symb, c, r, size, ctype, origin, *args, **kwargs)
104 def line(points, frame=None, origin=afwImage.PARENT, symbs=False, ctype=None, size=0.5):
105 return getDisplay(frame, create=
True).
line(points, origin, symbs, ctype, size)
108 def scale(algorithm, min, max=None, frame=None):
112 def pan(colc=None, rowc=None, frame=None, origin=afwImage.PARENT):
115 disp.pan(colc, rowc, origin)
118 def zoom(zoomfac=None, colc=None, rowc=None, frame=None, origin=afwImage.PARENT):
122 disp.pan(colc, rowc, origin)
129 def setCallback(k, func=lsst.afw.display.noop_callback, noRaise=False, frame=None):
def __call__(self, *args, **kwargs)
def __init__(self, exception)
def setMaskPlaneColor(name, color=None, frame=None)
def dot(symb, c, r, frame=None, size=2, ctype=None, origin=afwImage.PARENT, *args, **kwargs)
def setMaskTransparency(name, frame=None)
def line(points, frame=None, origin=afwImage.PARENT, symbs=False, ctype=None, size=0.5)
def scale(algorithm, min, max=None, frame=None)
def zoom(zoomfac=None, colc=None, rowc=None, frame=None, origin=afwImage.PARENT)
def setCallback(k, func=lsst.afw.display.noop_callback, noRaise=False, frame=None)
def getActiveCallbackKeys(onlyActive=True, frame=None)
def getMaskPlaneColor(name, frame=None)
def getMaskTransparency(name, frame=None)
def mtv(data, frame=None, title="", wcs=None, *args, **kwargs)
def pan(colc=None, rowc=None, frame=None, origin=afwImage.PARENT)
def setDefaultBackend(backend)
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.