RectPartition.nodes_on_bdry¶
-
property
RectPartition.
nodes_on_bdry
¶ Encoding of grid points lying on the boundary.
Examples
Using global option (default
False
):>>> part = odl.nonuniform_partition([0, 2, 3], [1, 3]) >>> part.nodes_on_bdry False >>> part = odl.nonuniform_partition([0, 2, 3], [1, 3], ... nodes_on_bdry=True) >>> part.nodes_on_bdry True
False
in axis 0,True
in axis 1:>>> part = odl.nonuniform_partition([0, 2, 3], [1, 3], ... nodes_on_bdry=[False, True]) >>> part.nodes_on_bdry (False, True)
In axis 0,
False
left andTrue
right, in axis 1False
:>>> part = odl.nonuniform_partition([0, 2, 3], [1, 3], ... nodes_on_bdry=[[False, True], ... False]) >>> part.nodes_on_bdry ((False, True), False)