|
lsst.afw g3a5ebb7d8a+28b83bf6a5
|
Functions | |
| dot (symb, c, r, size, ctype=None, fontFamily="helvetica", textAngle=None) | |
| drawLines (points, ctype=None) | |
| dot | ( | symb, | |
| c, | |||
| r, | |||
| size, | |||
| ctype = None, | |||
| fontFamily = "helvetica", | |||
| textAngle = None ) |
Draw a symbol onto the specified DS9 frame.
Parameters
----------
symb
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)
`lsst.afw.geom.ellipses.BaseCore`
Draw the ellipse (argument size is ignored). N.b. objects
derived from `~lsst.afw.geom.ellipses.BaseCore` include
`~lsst.afw.geom.ellipses.Axes` and `~lsst.afw.geom.ellipses.Quadrupole`.
Any other value
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).
c, r
Zero-based coordinates at which to draw the symbol
size
ctype : `str`
the name of the desired color (e.g. 'red', 'orchid')
fontFamily
textAngle
Definition at line 27 of file ds9Regions.py.
| drawLines | ( | points, | |
| ctype = None ) |
Draw a line by connecting the points
Parameters
----------
points : `list` of `tuple` of `float`
a list of (col,row)
ctype : `str`
the name of the desired color (e.g. 'red', 'orchid')
Definition at line 122 of file ds9Regions.py.