RectPartition.cell_boundary_vecs¶
-
property
RectPartition.
cell_boundary_vecs
¶ Return the cell boundaries as coordinate vectors.
Examples
>>> rect = odl.IntervalProd([0, -1], [1, 2]) >>> grid = odl.RectGrid([0, 1], [-1, 0, 2]) >>> part = odl.RectPartition(rect, grid) >>> part.cell_boundary_vecs (array([ 0. , 0.5, 1. ]), array([-1. , -0.5, 1. , 2. ]))