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
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
Namespace List
Namespace Members
lsst
afw
detection
utils
Functions
lsst.afw.detection.utils Namespace Reference
Functions
def
writeFootprintAsDefects
Function Documentation
def lsst.afw.detection.utils.writeFootprintAsDefects
(
fd
,
foot
)
Write foot as a set of Defects to fd
Definition at line
25
of file
utils.py
.
25
26
def
writeFootprintAsDefects
(fd, foot):
27
"""Write foot as a set of Defects to fd"""
28
29
bboxes =
afwDetect.footprintToBBoxList
(foot)
30
for
bbox
in
bboxes:
31
print
>> fd,
"""\
32
Defects: {
33
x0: %4d # Starting column
34
width: %4d # number of columns
35
y0: %4d # Starting row
36
height: %4d # number of rows
37
}"""
% (bbox.getMinX(), bbox.getWidth(), bbox.getMinY(), bbox.getHeight())
lsst.afw.detection.utils.writeFootprintAsDefects
def writeFootprintAsDefects
Definition:
utils.py:25
lsst.afw.detection::footprintToBBoxList
std::vector< lsst::afw::geom::Box2I > footprintToBBoxList(Footprint const &foot)
Generated on Wed Sep 16 2015 13:35:38 for LSSTApplications by
1.8.5