BoxGrid

class lsst.afw.geom.testUtils.BoxGrid(box, numColRow)

Bases: object

Divide a box into nx by ny sub-boxes that tile the region

The sub-boxes will be of the same type as box and will exactly tile box; 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.Box2I or lsst.geom.Box2D

the box to subdivide; the boxes in the grid will be of the same type

numColRow : pair of int

number of columns and rows

Attributes Summary

numColRow

Attributes Documentation

numColRow