LSSTApplications  17.0+10,17.0+51,17.0+88,18.0.0+10,18.0.0+15,18.0.0+34,18.0.0+4,18.0.0+6,18.0.0-2-ge43143a+6,18.1.0-1-g0001055+2,18.1.0-1-g0896a44+10,18.1.0-1-g1349e88+9,18.1.0-1-g2505f39+7,18.1.0-1-g380d4d4+9,18.1.0-1-g5e4b7ea+2,18.1.0-1-g7e8fceb,18.1.0-1-g85f8cd4+7,18.1.0-1-g9a6769a+3,18.1.0-1-ga1a4c1a+6,18.1.0-1-gc037db8+2,18.1.0-1-gd55f500+3,18.1.0-1-ge10677a+7,18.1.0-10-g73b8679e+12,18.1.0-12-gf30922b,18.1.0-13-g451e75588,18.1.0-13-gbfe7f7f,18.1.0-2-g31c43f9+7,18.1.0-2-g9c63283+9,18.1.0-2-gdf0b915+9,18.1.0-2-gf03bb23+2,18.1.0-3-g52aa583+3,18.1.0-3-g8f4a2b1+1,18.1.0-3-g9cb968e+8,18.1.0-4-g7bbbad0,18.1.0-5-g510c42a+8,18.1.0-5-ga46117f,18.1.0-5-gaeab27e+9,18.1.0-6-gdda7f3e+11,18.1.0-8-g4084bf03+1,w.2019.34
LSSTDataManagementBasePackage
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 64 of file ds9.py.

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

◆ 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 101 of file ds9.py.

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

◆ erase()

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

Definition at line 97 of file ds9.py.

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

◆ getActiveCallbackKeys()

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

Definition at line 134 of file ds9.py.

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

◆ getMaskPlaneColor()

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

Definition at line 77 of file ds9.py.

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

◆ getMaskTransparency()

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

Definition at line 85 of file ds9.py.

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

◆ interact()

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

Definition at line 126 of file ds9.py.

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

◆ line()

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

Definition at line 105 of file ds9.py.

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

◆ mtv()

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

Definition at line 93 of file ds9.py.

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

◆ pan()

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

Definition at line 113 of file ds9.py.

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

◆ scale()

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

Definition at line 109 of file ds9.py.

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

◆ setCallback()

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

Definition at line 130 of file ds9.py.

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

◆ setMaskPlaneColor()

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

Definition at line 73 of file ds9.py.

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

◆ setMaskTransparency()

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

Definition at line 81 of file ds9.py.

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

◆ show()

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

Definition at line 89 of file ds9.py.

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

◆ zoom()

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

Definition at line 119 of file ds9.py.

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

Variable Documentation

◆ getDisplay

lsst.afw.display.ds9.getDisplay = _getDisplay

Definition at line 34 of file ds9.py.

◆ loaded

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

Definition at line 59 of file ds9.py.