RectGrid.mid_pt

property RectGrid.mid_pt

Midpoint of the grid, not necessarily a grid point.

Examples

>>> rg = uniform_grid([-1.5, -1], [-0.5, 3], (2, 3))
>>> rg.mid_pt
array([-1.,  1.])