col#

property CrystalMap.col: None | ndarray#

Return the column 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.col
array([0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3])
>>> xmap[1:3, 1:3].col
array([0, 1, 0, 1])