LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
Classes | |
class | Display |
class | Event |
A class to handle events such as key presses in image display windows. More... | |
Functions | |
def | _makeDisplayImpl |
Return the DisplayImpl for the named backend. More... | |
def | noop_callback |
Callback function: arguments key, x, y. More... | |
def | h_callback |
def | setDefaultBackend |
def | getDefaultBackend |
def | setDefaultFrame |
def | getDefaultFrame |
def | incrDefaultFrame |
def | setDefaultMaskTransparency |
def | setDefaultMaskPlaneColor |
Set the default mapping from mask plane names to colours. More... | |
def | getDisplay |
Return the Display indexed by frame, creating it if needs be. More... | |
def | delAllDisplays |
Delete and close all known display. More... | |
Variables | |
tuple | __all__ |
string | WHITE = "white" |
string | BLACK = "black" |
string | RED = "red" |
string | GREEN = "green" |
string | BLUE = "blue" |
string | CYAN = "cyan" |
string | MAGENTA = "magenta" |
string | YELLOW = "yellow" |
string | ORANGE = "orange" |
|
private |
Return the DisplayImpl for the named backend.
backend | Name of device. Should be importable, either absolutely or relative to lsst.display |
frame | Identifier for this instance of the backend |
args | Arguments passed to DisplayImpl.__init__ |
kwrgs | Keywords arguments passed to DisplayImpl.__init__ |
E.g. import lsst.afw.display as afwDisplay display = afwDisplay.Display("ds9", frame=1) would call _makeDisplayImpl(..., "ds9", 1) and import the ds9 implementation of DisplayImpl from lsst.display.ds9
Definition at line 57 of file interface.py.
def lsst.afw.display.interface.delAllDisplays | ( | ) |
Delete and close all known display.
Definition at line 649 of file interface.py.
def lsst.afw.display.interface.getDefaultBackend | ( | ) |
Definition at line 606 of file interface.py.
def lsst.afw.display.interface.getDefaultFrame | ( | ) |
def lsst.afw.display.interface.getDisplay | ( | frame = None , |
|
backend = None , |
|||
create = True , |
|||
verbose = False , |
|||
args, | |||
kwargs | |||
) |
Return the Display indexed by frame, creating it if needs be.
See Display.getDisplay
frame | The desired frame (None => use defaultFrame (see setDefaultFrame)) |
backend | 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 | create the display if it doesn't already exist. |
verbose | Allow backend to be chatty |
args | arguments passed to Display constructor |
kwargs | keyword arguments passed to Display constructor |
Definition at line 633 of file interface.py.
def lsst.afw.display.interface.h_callback | ( | k, | |
x, | |||
y | |||
) |
Definition at line 593 of file interface.py.
def lsst.afw.display.interface.incrDefaultFrame | ( | ) |
def lsst.afw.display.interface.noop_callback | ( | k, | |
x, | |||
y | |||
) |
Callback function: arguments key, x, y.
Definition at line 589 of file interface.py.
def lsst.afw.display.interface.setDefaultBackend | ( | backend | ) |
Definition at line 603 of file interface.py.
def lsst.afw.display.interface.setDefaultFrame | ( | frame = 0 | ) |
Definition at line 609 of file interface.py.
def lsst.afw.display.interface.setDefaultMaskPlaneColor | ( | name = None , |
|
color = None |
|||
) |
Set the default mapping from mask plane names to colours.
name | name of mask plane, or a dict mapping names to colours |
color | Desired color, or None if name is a dict |
If name is None, use the hard-coded default dictionary
Definition at line 623 of file interface.py.
def lsst.afw.display.interface.setDefaultMaskTransparency | ( | maskPlaneTransparency = {} | ) |
Definition at line 620 of file interface.py.
tuple lsst.afw.display.interface.__all__ |
Definition at line 33 of file interface.py.
string lsst.afw.display.interface.BLACK = "black" |
Definition at line 46 of file interface.py.
string lsst.afw.display.interface.BLUE = "blue" |
Definition at line 49 of file interface.py.
string lsst.afw.display.interface.CYAN = "cyan" |
Definition at line 50 of file interface.py.
string lsst.afw.display.interface.GREEN = "green" |
Definition at line 48 of file interface.py.
string lsst.afw.display.interface.MAGENTA = "magenta" |
Definition at line 51 of file interface.py.
string lsst.afw.display.interface.ORANGE = "orange" |
Definition at line 53 of file interface.py.
string lsst.afw.display.interface.RED = "red" |
Definition at line 47 of file interface.py.
string lsst.afw.display.interface.WHITE = "white" |
Definition at line 45 of file interface.py.
string lsst.afw.display.interface.YELLOW = "yellow" |
Definition at line 52 of file interface.py.