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 | Mosaic |
Functions | |
def | _getDisplayFromDisplayOrFrame |
Return an afwDisplay.Display given either a display or a frame ID. More... | |
def | drawBBox |
def | drawFootprint |
def | drawCoaddInputs |
Variables | |
tuple | __all__ |
|
private |
Return an afwDisplay.Display given either a display or a frame ID.
If the two arguments are consistent, return the desired display; if they are not, raise a RuntimeError exception.
If the desired display is None, return None; if (display, frame) == ("deferToFrame", None), return the default display
Definition at line 36 of file utils.py.
def lsst.afw.display.utils.drawBBox | ( | bbox, | |
borderWidth = 0.0 , |
|||
origin = None , |
|||
display = "deferToFrame" , |
|||
ctype = None , |
|||
bin = 1 , |
|||
frame = None |
|||
) |
Draw an afwImage::BBox on a display frame with the specified ctype. Include an extra borderWidth pixels If origin is present, it's Added to the BBox All BBox coordinates are divided by bin, as is right and proper for overlaying on a binned image
Definition at line 281 of file utils.py.
def lsst.afw.display.utils.drawCoaddInputs | ( | exposure, | |
frame = None , |
|||
ctype = None , |
|||
bin = 1 , |
|||
display = "deferToFrame" |
|||
) |
Draw the bounding boxes of input exposures to a coadd on a display frame with the specified ctype, assuming display.mtv() has already been called on the given exposure on this frame. All coordinates are divided by bin, as is right and proper for overlaying on a binned image
Definition at line 351 of file utils.py.
def lsst.afw.display.utils.drawFootprint | ( | foot, | |
borderWidth = 0.5 , |
|||
origin = None , |
|||
XY0 = None , |
|||
frame = None , |
|||
ctype = None , |
|||
bin = 1 , |
|||
peaks = False , |
|||
symb = "+" , |
|||
size = 0.4 , |
|||
ctypePeak = None , |
|||
display = "deferToFrame" |
|||
) |
Draw an afwDetection::Footprint on a display frame with the specified ctype. Include an extra borderWidth pixels If origin is present, it's Added to the Footprint; if XY0 is present is Subtracted from the Footprint If peaks is True, also show the object's Peaks using the specified symbol and size and ctypePeak All Footprint coordinates are divided by bin, as is right and proper for overlaying on a binned image
Definition at line 307 of file utils.py.
tuple lsst.afw.display.utils.__all__ |