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, url=None, name=None, *args, **kwargs) | |
getClient (self) | |
clearViewer (self) | |
resetLayout (self) | |
overlayFootprints (self, catalog, color='rgba(74, 144, 226, 0.60)', highlightColor='cyan', selectColor='orange', style='fill', layerString='detection footprints ', titleString='catalog footprints ') | |
Public Attributes | |
frame | |
Protected Member Functions | |
_getRegionLayerId (self) | |
_clearImage (self) | |
_mtv (self, image, mask=None, wcs=None, title="") | |
_remove_masks (self) | |
_buffer (self, enable=True) | |
Enable or disable buffering of writes to the display param enable True or False, as appropriate. | |
_flush (self) | |
Flush any I/O buffers. | |
_uploadTextData (self, regions) | |
_close (self) | |
_dot (self, symb, c, r, size, ctype, fontFamily="helvetica", textAngle=None) | |
_drawLines (self, points, ctype) | |
_erase (self) | |
_setCallback (self, what, func) | |
_getEvent (self) | |
_scale (self, algorithm, min, max, unit=None, *args, **kwargs) | |
_setMaskTransparency (self, transparency, maskName) | |
_getMaskTransparency (self, maskName) | |
_setMaskPlaneColor (self, maskName, color) | |
_show (self) | |
_zoom (self, zoomfac) | |
_pan (self, colc, rowc) | |
Device to talk to a firefly display
Definition at line 55 of file firefly.py.
lsst.display.firefly.firefly.DisplayImpl.__init__ | ( | self, | |
display, | |||
verbose = False, | |||
url = None, | |||
name = None, | |||
* | args, | ||
** | kwargs ) |
Definition at line 75 of file firefly.py.
|
protected |
Enable or disable buffering of writes to the display param enable True or False, as appropriate.
Definition at line 235 of file firefly.py.
|
protected |
Delete the current image in the Firefly viewer
Definition at line 150 of file firefly.py.
|
protected |
Called when the device is closed
Definition at line 262 of file firefly.py.
|
protected |
Draw a symbol onto the specified DS9 frame at (col,row) = (c,r) [0-based coordinates] Possible values are: + Draw a + x Draw an x * Draw a * o Draw a circle @:Mxx,Mxy,Myy Draw an ellipse with moments (Mxx, Mxy, Myy) (argument size is ignored) An object derived from afwGeom.ellipses.BaseCore Draw the ellipse (argument size is ignored) Any other value is interpreted as a string to be drawn. Strings obey the fontFamily (which may be extended with other characteristics, e.g. "times bold italic". Text will be drawn rotated by textAngle (textAngle is ignored otherwise). N.b. objects derived from BaseCore include Axes and Quadrupole.
Definition at line 270 of file firefly.py.
|
protected |
Connect the points, a list of (col,row) Ctype is the name of a colour (e.g. 'red')
Definition at line 287 of file firefly.py.
|
protected |
Erase all overlays on the image
Definition at line 293 of file firefly.py.
|
protected |
Flush any I/O buffers.
Definition at line 241 of file firefly.py.
|
protected |
Return an event generated by a keypress or mouse click
Definition at line 314 of file firefly.py.
|
protected |
Return the current mask's transparency
Definition at line 447 of file firefly.py.
|
protected |
Definition at line 147 of file firefly.py.
|
protected |
Display an Image and/or Mask on a Firefly display
Definition at line 156 of file firefly.py.
|
protected |
Pan to specified pixel coordinates Parameters: ----------- colc, rowc : `float` column and row in units of pixels (zero-based convention, with the xy0 already subtracted off)
Definition at line 493 of file firefly.py.
|
protected |
Remove mask layers
Definition at line 229 of file firefly.py.
|
protected |
Scale the image stretch and limits Parameters: ----------- algorithm : `str` stretch algorithm, e.g. 'linear', 'log', 'loglog', 'equal', 'squared', 'sqrt', 'asinh', powerlaw_gamma' min : `float` or `str` lower limit, or 'minmax' for full range, or 'zscale' max : `float` or `str` upper limit; overrriden if min is 'minmax' or 'zscale' unit : `str` unit for min and max. 'percent', 'absolute', 'sigma'. if not specified, min and max are presumed to be in 'absolute' units. *args, **kwargs : additional position and keyword arguments. The options are shown below: **Q** : `float`, optional The asinh softening parameter for asinh stretch. Use Q=0 for linear stretch, increase Q to make brighter features visible. When not specified or None, Q is calculated by Firefly to use full color range. **gamma** The gamma value for power law gamma stretch (default 2.0) **zscale_contrast** : `int`, optional Contrast parameter in percent for zscale algorithm (default 25) **zscale_samples** : `int`, optional Number of samples for zscale algorithm (default 600) **zscale_samples_perline** : `int`, optional Number of samples per line for zscale algorithm (default 120)
Definition at line 327 of file firefly.py.
|
protected |
Definition at line 300 of file firefly.py.
|
protected |
Specify mask color
Definition at line 454 of file firefly.py.
|
protected |
Specify mask transparency (percent); or None to not set it when loading masks
Definition at line 433 of file firefly.py.
|
protected |
Show the requested window
Definition at line 467 of file firefly.py.
|
protected |
Definition at line 256 of file firefly.py.
|
protected |
Zoom display by specified amount Parameters: ----------- zoomfac: `float` zoom level in screen pixels per image pixel
Definition at line 482 of file firefly.py.
lsst.display.firefly.firefly.DisplayImpl.clearViewer | ( | self | ) |
Reinitialize the viewer
Definition at line 518 of file firefly.py.
lsst.display.firefly.firefly.DisplayImpl.getClient | ( | self | ) |
Get the instance of FireflyClient for this display Returns: -------- `firefly_client.FireflyClient` Instance of FireflyClient used by this display
Definition at line 508 of file firefly.py.
lsst.display.firefly.firefly.DisplayImpl.overlayFootprints | ( | self, | |
catalog, | |||
color = 'rgba(74,144,226,0.60)', | |||
highlightColor = 'cyan', | |||
selectColor = 'orange', | |||
style = 'fill', | |||
layerString = 'detection footprints ', | |||
titleString = 'catalog footprints ' ) |
Overlay outlines of footprints from a catalog Overlay outlines of LSST footprints from the input catalog. The colors and style can be specified as parameters, and the base color and style can be changed in the Firefly browser user interface. Parameters: ----------- catalog : `lsst.afw.table.SourceCatalog` Source catalog from which to display footprints. color : `str` Color for footprints overlay. Colors can be specified as a name like 'cyan' or afwDisplay.RED; as an rgb value such as 'rgb(80,100,220)'; or as rgb plus alpha (transparency) such as 'rgba('74,144,226,0.60)'. highlightColor : `str` Color for highlighted footprints selectColor : `str` Color for selected footprints style : {'fill', 'outline'} Style of footprints display, filled or outline insertColumn : `int` Column at which to insert the "family_id" and "category" columns layerString: `str` Name of footprints layer string, to concatenate with the frame Re-using the layer_string will overwrite the previous table and footprints titleString: `str` Title of catalog, to concatenate with the frame
Definition at line 550 of file firefly.py.
lsst.display.firefly.firefly.DisplayImpl.resetLayout | ( | self | ) |
Reset the layout of the Firefly Slate browser Clears the display and adds Slate cells to display image in upper left, plot area in upper right, and plots stretch across the bottom
Definition at line 523 of file firefly.py.
|
protected |
Definition at line 137 of file firefly.py.
|
protected |
Definition at line 136 of file firefly.py.
|
protected |
Definition at line 134 of file firefly.py.
|
protected |
Definition at line 135 of file firefly.py.
|
protected |
Definition at line 131 of file firefly.py.
|
protected |
Definition at line 144 of file firefly.py.
|
protected |
Definition at line 145 of file firefly.py.
|
protected |
Definition at line 143 of file firefly.py.
|
protected |
Definition at line 140 of file firefly.py.
|
protected |
Definition at line 139 of file firefly.py.
|
protected |
Definition at line 141 of file firefly.py.
|
protected |
Definition at line 142 of file firefly.py.
|
protected |
Definition at line 133 of file firefly.py.
|
protected |
Definition at line 132 of file firefly.py.
|
protected |
Definition at line 372 of file firefly.py.
|
protected |
Definition at line 409 of file firefly.py.
|
protected |
Definition at line 408 of file firefly.py.
|
protected |
Definition at line 410 of file firefly.py.
|
protected |
Definition at line 138 of file firefly.py.
lsst.display.firefly.firefly.DisplayImpl.frame |
Definition at line 174 of file firefly.py.