row#

property CrystalMap.row: None | ndarray#

Return the row coordinate of each point in the data.

Returns None if z is not None.

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])