writeFootprintAsDefects

lsst.afw.detection.utils.writeFootprintAsDefects(fd, foot)

Write foot as a set of Defects to fd

Given a detection footprint, convert it to a BBoxList and write the output to the file object fd.

Parameters:
fd : typing.TextIO
foot : lsst.afw.detection.Footprint