LSST Applications  21.0.0-1-g8760c09+3ec9fa6d59,21.0.0-1-ga51b5d4+1a3c9f8315,21.0.0-13-g5daad6e+0252c796d2,21.0.0-14-g07a2928+6d2a161833,21.0.0-15-g543e7c3+e1f44b4e8b,21.0.0-15-g5a7caf0+22a63f14ab,21.0.0-15-ge3888ae+e70bf517f6,21.0.0-17-g8839fe5+10be924b4e,21.0.0-2-g103fe59+bd743ba87f,21.0.0-2-g45278ab+3ec9fa6d59,21.0.0-2-g5242d73+8a658b4ab3,21.0.0-2-g7f82c8f+82148d848c,21.0.0-2-g8faa9b5+a13d88a6a5,21.0.0-2-ga326454+82148d848c,21.0.0-2-gde069b7+135055f2fa,21.0.0-2-gecfae73+e9d3d7b02c,21.0.0-2-gfc62afb+8a658b4ab3,21.0.0-20-g35aa1e9+9ea05e3f8d,21.0.0-20-g8cd22d88+4d45a66d02,21.0.0-3-g357aad2+262bd63c8d,21.0.0-3-g4a4ce7f+8a658b4ab3,21.0.0-3-g4be5c26+8a658b4ab3,21.0.0-3-g65f322c+de03c300eb,21.0.0-3-ge02ed75+6d2a161833,21.0.0-30-gf21da11f8+33ac405c47,21.0.0-4-g591bb35+6d2a161833,21.0.0-4-g65b4814+10be924b4e,21.0.0-4-ge8a399c+4af7134804,21.0.0-5-g8c1d971+75b22be884,21.0.0-5-gcb07a25+7075ac2890,21.0.0-5-gcc89fd6+a13d88a6a5,21.0.0-5-gd00fb1e+2d6d6ce00a,21.0.0-6-gc675373+8a658b4ab3,21.0.0-7-gdf92d54+3ec9fa6d59,21.0.0-72-gffa78901+7884a7f5e9,21.0.0-8-g5674e7b+3979a46207,21.0.0-8-g72414d6+74174446e7,master-gac4afde19b+6d2a161833,w.2021.16
LSST Data Management Base Package
Classes | Functions | Variables
lsst.afw.display.ds9 Namespace Reference

Classes

class  _RaiseException
 
class  DisplayImpl
 

Functions

def Buffering ()
 
def setMaskPlaneColor (name, color=None, frame=None)
 
def getMaskPlaneColor (name, frame=None)
 
def setMaskTransparency (name, frame=None)
 
def getMaskTransparency (name, frame=None)
 
def show (frame=None)
 
def mtv (data, frame=None, title="", wcs=None, *args, **kwargs)
 
def erase (frame=None)
 
def dot (symb, c, r, frame=None, size=2, ctype=None, origin=afwImage.PARENT, *args, **kwargs)
 
def line (points, frame=None, origin=afwImage.PARENT, symbs=False, ctype=None, size=0.5)
 
def scale (algorithm, min, max=None, frame=None)
 
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 interact (frame=None)
 
def setCallback (k, func=lsst.afw.display.noop_callback, noRaise=False, frame=None)
 
def getActiveCallbackKeys (onlyActive=True, frame=None)
 

Variables

 getDisplay = _getDisplay
 
 loaded = True
 

Function Documentation

◆ Buffering()

def lsst.afw.display.ds9.Buffering ( )

Definition at line 63 of file ds9.py.

63 def Buffering():
64  # always use the real one
65  return _getDisplay(None, create=True).Buffering()
66 
67 #
68 # Functions provided for backwards compatibility
69 #
70 
71 
def Buffering()
Definition: ds9.py:63

◆ dot()

def lsst.afw.display.ds9.dot (   symb,
  c,
  r,
  frame = None,
  size = 2,
  ctype = None,
  origin = afwImage.PARENT,
args,
**  kwargs 
)
Examples
image2.cc, and maskedImage2.cc.

Definition at line 100 of file ds9.py.

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)
102 
103 
def dot(symb, c, r, frame=None, size=2, ctype=None, origin=afwImage.PARENT, *args, **kwargs)
Definition: ds9.py:100

◆ erase()

def lsst.afw.display.ds9.erase (   frame = None)
Examples
forEachPixel.cc.

Definition at line 96 of file ds9.py.

96 def erase(frame=None):
97  return getDisplay(frame, create=True).erase()
98 
99 
def erase(frame=None)
Definition: ds9.py:96

◆ getActiveCallbackKeys()

def lsst.afw.display.ds9.getActiveCallbackKeys (   onlyActive = True,
  frame = None 
)

Definition at line 133 of file ds9.py.

133 def getActiveCallbackKeys(onlyActive=True, frame=None):
134  return getDisplay(frame, create=True).getActiveCallbackKeys(onlyActive)
def getActiveCallbackKeys(onlyActive=True, frame=None)
Definition: ds9.py:133

◆ getMaskPlaneColor()

def lsst.afw.display.ds9.getMaskPlaneColor (   name,
  frame = None 
)

Definition at line 76 of file ds9.py.

76 def getMaskPlaneColor(name, frame=None):
77  return getDisplay(frame, create=True).getMaskPlaneColor(name)
78 
79 
def getMaskPlaneColor(name, frame=None)
Definition: ds9.py:76

◆ getMaskTransparency()

def lsst.afw.display.ds9.getMaskTransparency (   name,
  frame = None 
)

Definition at line 84 of file ds9.py.

84 def getMaskTransparency(name, frame=None):
85  return getDisplay(frame, create=True).getMaskTransparency(name)
86 
87 
def getMaskTransparency(name, frame=None)
Definition: ds9.py:84

◆ interact()

def lsst.afw.display.ds9.interact (   frame = None)

Definition at line 125 of file ds9.py.

125 def interact(frame=None):
126  return getDisplay(frame, create=True).interact()
127 
128 
def interact(frame=None)
Definition: ds9.py:125

◆ line()

def lsst.afw.display.ds9.line (   points,
  frame = None,
  origin = afwImage.PARENT,
  symbs = False,
  ctype = None,
  size = 0.5 
)

Definition at line 104 of file ds9.py.

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)
106 
107 
def line(points, frame=None, origin=afwImage.PARENT, symbs=False, ctype=None, size=0.5)
Definition: ds9.py:104

◆ mtv()

def lsst.afw.display.ds9.mtv (   data,
  frame = None,
  title = "",
  wcs = None,
args,
**  kwargs 
)

Definition at line 92 of file ds9.py.

92 def mtv(data, frame=None, title="", wcs=None, *args, **kwargs):
93  return getDisplay(frame, create=True).mtv(data, title, wcs, *args, **kwargs)
94 
95 
def mtv(data, frame=None, title="", wcs=None, *args, **kwargs)
Definition: ds9.py:92

◆ pan()

def lsst.afw.display.ds9.pan (   colc = None,
  rowc = None,
  frame = None,
  origin = afwImage.PARENT 
)

Definition at line 112 of file ds9.py.

112 def pan(colc=None, rowc=None, frame=None, origin=afwImage.PARENT):
113  disp = getDisplay(frame, create=True)
114 
115  disp.pan(colc, rowc, origin)
116 
117 
def pan(colc=None, rowc=None, frame=None, origin=afwImage.PARENT)
Definition: ds9.py:112

◆ scale()

def lsst.afw.display.ds9.scale (   algorithm,
  min,
  max = None,
  frame = None 
)

Definition at line 108 of file ds9.py.

108 def scale(algorithm, min, max=None, frame=None):
109  return getDisplay(frame, create=True).scale(algorithm, min, max)
110 
111 
def scale(algorithm, min, max=None, frame=None)
Definition: ds9.py:108

◆ setCallback()

def lsst.afw.display.ds9.setCallback (   k,
  func = lsst.afw.display.noop_callback,
  noRaise = False,
  frame = None 
)

Definition at line 129 of file ds9.py.

129 def setCallback(k, func=lsst.afw.display.noop_callback, noRaise=False, frame=None):
130  return getDisplay(frame, create=True).setCallback(k, noRaise=False)
131 
132 
def setCallback(k, func=lsst.afw.display.noop_callback, noRaise=False, frame=None)
Definition: ds9.py:129

◆ setMaskPlaneColor()

def lsst.afw.display.ds9.setMaskPlaneColor (   name,
  color = None,
  frame = None 
)

Definition at line 72 of file ds9.py.

72 def setMaskPlaneColor(name, color=None, frame=None):
73  return getDisplay(frame, create=True).setMaskPlaneColor(name, color)
74 
75 
def setMaskPlaneColor(name, color=None, frame=None)
Definition: ds9.py:72

◆ setMaskTransparency()

def lsst.afw.display.ds9.setMaskTransparency (   name,
  frame = None 
)

Definition at line 80 of file ds9.py.

80 def setMaskTransparency(name, frame=None):
81  return getDisplay(frame, create=True).setMaskTransparency(name)
82 
83 
def setMaskTransparency(name, frame=None)
Definition: ds9.py:80

◆ show()

def lsst.afw.display.ds9.show (   frame = None)

Definition at line 88 of file ds9.py.

88 def show(frame=None):
89  return getDisplay(frame, create=True).show()
90 
91 
def show(frame=None)
Definition: ds9.py:88

◆ zoom()

def lsst.afw.display.ds9.zoom (   zoomfac = None,
  colc = None,
  rowc = None,
  frame = None,
  origin = afwImage.PARENT 
)

Definition at line 118 of file ds9.py.

118 def zoom(zoomfac=None, colc=None, rowc=None, frame=None, origin=afwImage.PARENT):
119  disp = getDisplay(frame, create=True)
120 
121  disp.zoom(zoomfac)
122  disp.pan(colc, rowc, origin)
123 
124 
def zoom(zoomfac=None, colc=None, rowc=None, frame=None, origin=afwImage.PARENT)
Definition: ds9.py:118

Variable Documentation

◆ getDisplay

lsst.afw.display.ds9.getDisplay = _getDisplay

Definition at line 33 of file ds9.py.

◆ loaded

bool lsst.afw.display.ds9.loaded = True

Definition at line 58 of file ds9.py.