DisplayImpl¶
- class lsst.display.astrowidgets.DisplayImpl(display, dims=None, use_opencv=False, verbose=False, *args, **kwargs)¶
Bases:
DisplayImpl
Virtual device display implementation.
- Parameters:
Attributes Summary
Methods Summary
beginMarking
([symb, ctype, size, label])Begin interactive mark adding.
Remove all lines from the display.
clearMarkers
([label])Clear markers.
embed
()Attach this display to the output of the current cell.
End interactive mark adding.
getMarkers
([label])Get list of markers.
Return the ginga viewer
linkMarkers
([ctype, label])Connect markers with lines.
overlay_mask
(maskImage, maskDict, maskAlpha)Draw mask onto the image display.
show_color_bar
([show])Show (or hide) the colour bar.
show_pan_mark
([show, color])Show (or hide) the pan mark.
Attributes Documentation
- markerDict = {'*': 'circle', '+': 'plus', '.': 'circle', 'o': 'circle', 'x': 'cross'}¶
Methods Documentation
- beginMarking(symb='+', ctype='cyan', size=10, label='interactive')¶
Begin interactive mark adding.
- clearLines()¶
Remove all lines from the display.
- clearMarkers(label=None)¶
Clear markers.
- Parameters:
- label
str
, optional Marker label to clear. If None, all markers are cleared.
- label
- embed()¶
Attach this display to the output of the current cell.
- endMarking()¶
End interactive mark adding.
- getMarkers(label='interactive')¶
Get list of markers.
- Parameters:
- label
str
, optional Marker label to return.
- label
- Returns:
- table
astropy.table.Table
Table of markers with the given label.
- table
- get_viewer()¶
Return the ginga viewer
- linkMarkers(ctype='brown', label='interactive')¶
Connect markers with lines.
- overlay_mask(maskImage, maskDict, maskAlpha)¶
Draw mask onto the image display.