lsst.afw  15.0-29-ga12a2b06e
Functions
lsst.afw.display.ds9Regions Namespace Reference

Functions

def dot (symb, c, r, size, ctype=None, fontFamily="helvetica", textAngle=None)
 
def drawLines (points, ctype=None)
 Draw a line by connecting the points. More...
 

Function Documentation

◆ dot()

def lsst.afw.display.ds9Regions.dot (   symb,
  c,
  r,
  size,
  ctype = None,
  fontFamily = "helvetica",
  textAngle = None 
)
Draw a symbol onto the specified DS9 frame at (col,row) = (c,r) [0-based coordinates]
Possible values are:
    +                Draw a +
    x                Draw an x
    *                Draw a *
    o                Draw a circle
    @:Mxx,Mxy,Myy    Draw an ellipse with moments (Mxx, Mxy, Myy) (argument size is ignored)
    An object derived from afwGeom.ellipses.BaseCore Draw the ellipse (argument size is ignored)
Any other value is interpreted as a string to be drawn. Strings obey the fontFamily (which may be extended
with other characteristics, e.g. "times bold italic".  Text will be drawn rotated by textAngle (textAngle is
ignored otherwise).

N.b. objects derived from BaseCore include Axes and Quadrupole.

Definition at line 34 of file ds9Regions.py.

◆ drawLines()

def lsst.afw.display.ds9Regions.drawLines (   points,
  ctype = None 
)

Draw a line by connecting the points.

Parameters
pointsa list of (col,row)
ctypethe name of the desired colour (e.g. 'red', 'orchid')

Definition at line 109 of file ds9Regions.py.