LSST Applications g00d24c3146+07134a258f,g0fba68d861+c6b9c001b5,g1ec0fe41b4+f536777771,g1fd858c14a+958e7c0317,g216c3ac8a7+c5d9439d40,g35bb328faa+fcb1d3bbc8,g4d2262a081+0aed3363b2,g53246c7159+fcb1d3bbc8,g56a49b3a55+a44ca4bdea,g5a012ec0e7+3632fc3ff3,g60b5630c4e+07134a258f,g67b6fd64d1+ed4b5058f4,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g8180f54f50+a220987f6f,g8352419a5c+fcb1d3bbc8,g8852436030+bef424d5ca,g89139ef638+ed4b5058f4,g9125e01d80+fcb1d3bbc8,g94187f82dc+07134a258f,g989de1cb63+ed4b5058f4,g9ccd5d7f00+b7cae620c0,g9d31334357+07134a258f,g9f33ca652e+31a8ea3a30,gabe3b4be73+1e0a283bba,gabf8522325+fa80ff7197,gb1101e3267+c50a309191,gb58c049af0+f03b321e39,gb89ab40317+ed4b5058f4,gc0af124501+69caa252ab,gcf25f946ba+bef424d5ca,gd6cbbdb0b4+bb83cc51f8,gdd6d3460e7+d236de904b,gde0f65d7ad+d50ffb433c,ge278dab8ac+d65b3c2b70,ge410e46f29+ed4b5058f4,gf5e32f922b+fcb1d3bbc8,gf67bdafdda+ed4b5058f4,w.2025.16
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 1004 of file interface.py.
lsst.afw.display.interface.getDefaultBackend | ( | ) |
Definition at line 939 of file interface.py.
lsst.afw.display.interface.getDefaultFrame | ( | ) |
Get the default frame for display.
Definition at line 947 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 978 of file interface.py.
lsst.afw.display.interface.h_callback | ( | k, | |
x, | |||
y ) |
Definition at line 927 of file interface.py.
lsst.afw.display.interface.incrDefaultFrame | ( | ) |
Increment the default frame for display.
Definition at line 953 of file interface.py.
lsst.afw.display.interface.noop_callback | ( | k, | |
x, | |||
y ) |
Callback function Parameters ---------- key x y
Definition at line 915 of file interface.py.
lsst.afw.display.interface.setDefaultBackend | ( | backend | ) |
Definition at line 935 of file interface.py.
lsst.afw.display.interface.setDefaultFrame | ( | frame = 0 | ) |
Definition at line 943 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 963 of file interface.py.
lsst.afw.display.interface.setDefaultMaskTransparency | ( | maskPlaneTransparency = {} | ) |
Definition at line 959 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.