BoxGrid#
- class lsst.afw.geom.testUtils.BoxGrid(box, numColRow)#
Bases:
objectDivide a box into nx by ny sub-boxes that tile the region
The sub-boxes will be of the same type as
boxand will exactly tilebox; they will also all be the same size, to the extent possible (some variation is inevitable for integer boxes that cannot be evenly divided.Parameters#
- box
lsst.geom.Box2Iorlsst.geom.Box2D the box to subdivide; the boxes in the grid will be of the same type
- numColRowpair of
int number of columns and rows
Attributes Summary
Attributes Documentation
- numColRow#
- box