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
|
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 = lsst.log.Log.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 = lsst.log.Log.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.