LSST Applications g063fba187b+cac8b7c890,g0f08755f38+6aee506743,g1653933729+a8ce1bb630,g168dd56ebc+a8ce1bb630,g1a2382251a+b4475c5878,g1dcb35cd9c+8f9bc1652e,g20f6ffc8e0+6aee506743,g217e2c1bcf+73dee94bd0,g28da252d5a+1f19c529b9,g2bbee38e9b+3f2625acfc,g2bc492864f+3f2625acfc,g3156d2b45e+6e55a43351,g32e5bea42b+1bb94961c2,g347aa1857d+3f2625acfc,g35bb328faa+a8ce1bb630,g3a166c0a6a+3f2625acfc,g3e281a1b8c+c5dd892a6c,g3e8969e208+a8ce1bb630,g414038480c+5927e1bc1e,g41af890bb2+8a9e676b2a,g7af13505b9+809c143d88,g80478fca09+6ef8b1810f,g82479be7b0+f568feb641,g858d7b2824+6aee506743,g89c8672015+f4add4ffd5,g9125e01d80+a8ce1bb630,ga5288a1d22+2903d499ea,gb58c049af0+d64f4d3760,gc28159a63d+3f2625acfc,gcab2d0539d+b12535109e,gcf0d15dbbd+46a3f46ba9,gda6a2b7d83+46a3f46ba9,gdaeeff99f8+1711a396fd,ge79ae78c31+3f2625acfc,gef2f8181fd+0a71e47438,gf0baf85859+c1f95f4921,gfa517265be+6aee506743,gfa999e8aa5+17cd334064,w.2024.51
LSST Data Management Base Package
|
Classes | |
class | Display |
class | Event |
Functions | |
_makeDisplayImpl (display, backend, *args, **kwargs) | |
noop_callback (k, x, y) | |
h_callback (k, x, y) | |
setDefaultBackend (backend) | |
getDefaultBackend () | |
setDefaultFrame (frame=0) | |
getDefaultFrame () | |
incrDefaultFrame () | |
setDefaultMaskTransparency (maskPlaneTransparency={}) | |
setDefaultMaskPlaneColor (name=None, color=None) | |
getDisplay (frame=None, backend=None, create=True, verbose=False, **kwargs) | |
delAllDisplays () | |
Variables | |
logger = logging.getLogger(__name__) | |
str | WHITE = "white" |
str | BLACK = "black" |
str | RED = "red" |
str | GREEN = "green" |
str | BLUE = "blue" |
str | CYAN = "cyan" |
str | MAGENTA = "magenta" |
str | YELLOW = "yellow" |
str | ORANGE = "orange" |
str | IGNORE = "ignore" |
|
protected |
Return the ``DisplayImpl`` for the named backend Parameters ---------- display : `str` Name of device. Should be importable, either absolutely or relative to lsst.display backend : `str` The desired backend *args Arguments passed to DisplayImpl.__init__ *kwargs Keywords arguments passed to DisplayImpl.__init__ Examples -------- E.g. .. code-block:: py import lsst.afw.display as afwDisplay display = afwDisplay.Display(backend="ds9") would call .. code-block:: py _makeDisplayImpl(..., "ds9", 1) and import the ds9 implementation of ``DisplayImpl`` from `lsst.display.ds9`
Definition at line 53 of file interface.py.
lsst.afw.display.interface.delAllDisplays | ( | ) |
Delete and close all known displays.
Definition at line 1002 of file interface.py.
lsst.afw.display.interface.getDefaultBackend | ( | ) |
Definition at line 937 of file interface.py.
lsst.afw.display.interface.getDefaultFrame | ( | ) |
Get the default frame for display.
Definition at line 945 of file interface.py.
lsst.afw.display.interface.getDisplay | ( | frame = None, | |
backend = None, | |||
create = True, | |||
verbose = False, | |||
** | kwargs ) |
Return a specific `Display`, creating it if need be. Parameters ---------- frame Desired frame (`None` => use defaultFrame (see `setDefaultFrame`)). backend : `str` Create the specified frame using this backend (or the default if `None`) if it doesn't already exist. If ``backend == ""``, it's an error to specify a non-existent ``frame``. create : `bool` Create the display if it doesn't already exist. verbose : `bool` Allow backend to be chatty. **kwargs Keyword arguments passed to `Display` constructor. See also -------- Display.getDisplay
Definition at line 976 of file interface.py.
lsst.afw.display.interface.h_callback | ( | k, | |
x, | |||
y ) |
Definition at line 925 of file interface.py.
lsst.afw.display.interface.incrDefaultFrame | ( | ) |
Increment the default frame for display.
Definition at line 951 of file interface.py.
lsst.afw.display.interface.noop_callback | ( | k, | |
x, | |||
y ) |
Callback function Parameters ---------- key x y
Definition at line 913 of file interface.py.
lsst.afw.display.interface.setDefaultBackend | ( | backend | ) |
Definition at line 933 of file interface.py.
lsst.afw.display.interface.setDefaultFrame | ( | frame = 0 | ) |
Definition at line 941 of file interface.py.
lsst.afw.display.interface.setDefaultMaskPlaneColor | ( | name = None, | |
color = None ) |
Set the default mapping from mask plane names to colors. Parameters ---------- name : `str` or `dict` Name of mask plane, or a dict mapping names to colors. If ``name`` is `None`, use the hard-coded default dictionary. color : `str` Desired color, or `None` if ``name`` is a dict.
Definition at line 961 of file interface.py.
lsst.afw.display.interface.setDefaultMaskTransparency | ( | maskPlaneTransparency = {} | ) |
Definition at line 957 of file interface.py.
str lsst.afw.display.interface.BLACK = "black" |
Definition at line 42 of file interface.py.
str lsst.afw.display.interface.BLUE = "blue" |
Definition at line 45 of file interface.py.
str lsst.afw.display.interface.CYAN = "cyan" |
Definition at line 46 of file interface.py.
str lsst.afw.display.interface.GREEN = "green" |
Definition at line 44 of file interface.py.
str lsst.afw.display.interface.IGNORE = "ignore" |
Definition at line 50 of file interface.py.
lsst.afw.display.interface.logger = logging.getLogger(__name__) |
Definition at line 38 of file interface.py.
str lsst.afw.display.interface.MAGENTA = "magenta" |
Definition at line 47 of file interface.py.
str lsst.afw.display.interface.ORANGE = "orange" |
Definition at line 49 of file interface.py.
str lsst.afw.display.interface.RED = "red" |
Definition at line 43 of file interface.py.
str lsst.afw.display.interface.WHITE = "white" |
Definition at line 41 of file interface.py.
str lsst.afw.display.interface.YELLOW = "yellow" |
Definition at line 48 of file interface.py.