row#
- property CrystalMap.row: Union[None, ndarray]#
Return the row coordinate of each point in the data.
Returns
None
ifz
is notNone
.Examples
>>> from orix.crystal_map import CrystalMap >>> xmap = CrystalMap.empty((3, 4)) >>> xmap.row array([0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2]) >>> xmap[1:3, 1:3].row array([0, 0, 1, 1])