LSST Applications 27.0.0,g0265f82a02+469cd937ee,g02d81e74bb+21ad69e7e1,g1470d8bcf6+cbe83ee85a,g2079a07aa2+e67c6346a6,g212a7c68fe+04a9158687,g2305ad1205+94392ce272,g295015adf3+81dd352a9d,g2bbee38e9b+469cd937ee,g337abbeb29+469cd937ee,g3939d97d7f+72a9f7b576,g487adcacf7+71499e7cba,g50ff169b8f+5929b3527e,g52b1c1532d+a6fc98d2e7,g591dd9f2cf+df404f777f,g5a732f18d5+be83d3ecdb,g64a986408d+21ad69e7e1,g858d7b2824+21ad69e7e1,g8a8a8dda67+a6fc98d2e7,g99cad8db69+f62e5b0af5,g9ddcbc5298+d4bad12328,ga1e77700b3+9c366c4306,ga8c6da7877+71e4819109,gb0e22166c9+25ba2f69a1,gb6a65358fc+469cd937ee,gbb8dafda3b+69d3c0e320,gc07e1c2157+a98bf949bb,gc120e1dc64+615ec43309,gc28159a63d+469cd937ee,gcf0d15dbbd+72a9f7b576,gdaeeff99f8+a38ce5ea23,ge6526c86ff+3a7c1ac5f1,ge79ae78c31+469cd937ee,gee10cc3b42+a6fc98d2e7,gf1cff7945b+21ad69e7e1,gfbcc870c63+9a11dc8c8f
LSST Data Management Base Package
|
Public Member Functions | |
__init__ (self, display, verbose=False) | |
__del__ (self) | |
Public Attributes | |
display | |
verbose | |
frame | |
Protected Member Functions | |
_close (self) | |
_buffer (self, enable=True) | |
_dot (self, symb, c, r, size, ctype, *args, **kwargs) | |
_drawLines (self, points, ctype) | |
_erase (self) | |
_flush (self) | |
_setCallback (self, what, func) | |
_getEvent (self) | |
_getMaskTransparency (self) | |
_mtv (self, image, wcs=None, mask=None, title="") | |
_setImageColormap (self, cmap) | |
_setMaskTransparency (self, transparency, maskplane) | |
_scale (self, algorithm, min, max, *args, unit=None, **kwargs) | |
_show (self) | |
_pan (self, r, c) | |
_zoom (self, zoomfac) | |
Back-end for display objects. Parameters ---------- display The display object that we're providing the implementation for verbose : `bool` be chatty?
Definition at line 23 of file virtualDevice.py.
lsst.afw.display.virtualDevice.DisplayImpl.__init__ | ( | self, | |
display, | |||
verbose = False ) |
Definition at line 33 of file virtualDevice.py.
lsst.afw.display.virtualDevice.DisplayImpl.__del__ | ( | self | ) |
Definition at line 37 of file virtualDevice.py.
|
protected |
Enable or disable buffering of writes to the display Parameters ---------- enable : `bool` `True` or `False`, as appropriate
Definition at line 46 of file virtualDevice.py.
|
protected |
Close the display, cleaning up any allocated resources
Definition at line 40 of file virtualDevice.py.
|
protected |
Draw a symbol at (c, r) Parameters ---------- symb The desired symbol. See `dot` for details c : `float` (x) column position r : `float` (y) row position size : `int` Size of symbol, in pixels ctype : `str` The desired color, either e.g. `lsst.afw.display.RED` or a color name known to X11 *args Extra arguments to backend **kwargs Extra keyword arguments to backend
Definition at line 57 of file virtualDevice.py.
|
protected |
Draw line defined by the list points Parameters ---------- points : `list` of `tuple` of `float` A list of 0-indexed positions [(x, y), (x, y), ...] ctype : `str` The desired color, either e.g. `lsst.afw.display.RED` or a color name known to X11
Definition at line 81 of file virtualDevice.py.
|
protected |
Erase all glyphs drawn on display
Definition at line 95 of file virtualDevice.py.
|
protected |
Flush any I/O buffers
Definition at line 101 of file virtualDevice.py.
|
protected |
Return an event generated by a keypress or mouse click
Definition at line 111 of file virtualDevice.py.
|
protected |
Return the mask transparency for a display
Definition at line 122 of file virtualDevice.py.
|
protected |
Display an image and maybe a mask overlay on a display Parameters ---------- image : `lsst.afw.image.Image` `~lsst.afw.image.Image` to display mask : `lsst.afw.image.Mask` `~lsst.afw.image.Mask` to display wcs : `lsst.afw.geom.SkyWcs` A Wcs to associate with data title : `str` Name to display with the data
Definition at line 128 of file virtualDevice.py.
|
protected |
Pan to a row and column Parameters ---------- c : `float` Desired column (x) position r : `float` Desired row (y) position
Definition at line 200 of file virtualDevice.py.
|
protected |
Set the scaling from DN to displayed pixels Parameters ---------- algorithm Scaling algorithm (e.g. linear) min The minimum value of the stretch (or "zscale" or "minmax") max The maximum value of the stretch unit Units for min and max (e.g. Percent, Absolute, Sigma) *args Optional arguments to the backend **kwargs Optional keyword arguments to the backend
Definition at line 172 of file virtualDevice.py.
|
protected |
Definition at line 107 of file virtualDevice.py.
|
protected |
Set the desired colormap Parameters ---------- cmap : `str` the name of a colormap (e.g. "gray") or a backend-specific object
Definition at line 147 of file virtualDevice.py.
|
protected |
Set the transparency of a maskplane Parameters ---------- transparency : `float` The desired transparency, in the range [0, 100] maskplane The maskplane to set (None: all)
Definition at line 158 of file virtualDevice.py.
|
protected |
Show the requested display
Definition at line 194 of file virtualDevice.py.
|
protected |
Set the zoom Parameters ---------- zoomfac : `float` Zoom factor to use
Definition at line 213 of file virtualDevice.py.
lsst.afw.display.virtualDevice.DisplayImpl.display |
Definition at line 34 of file virtualDevice.py.
lsst.afw.display.virtualDevice.DisplayImpl.frame |
Definition at line 44 of file virtualDevice.py.
lsst.afw.display.virtualDevice.DisplayImpl.verbose |
Definition at line 35 of file virtualDevice.py.