22__all__ = [
"writeFootprintAsDefects"]
24from .
import footprintToBBoxList
29 Write foot as a set of Defects to fd
31 Given a detection footprint, convert it to a BBoxList
and write the output to the file object fd.
40 lsst.afw.detection.footprintToBBoxList
51}
""" % (bbox.getMinX(), bbox.getWidth(), bbox.getMinY(), bbox.getHeight()), file=fd)
def writeFootprintAsDefects(fd, foot)
std::vector< lsst::geom::Box2I > footprintToBBoxList(Footprint const &footprint)
Return a list of BBoxs, whose union contains exactly the pixels in the footprint, neither more nor le...