- kikuchipy.filters.distance_to_origin(shape: Tuple[int] | Tuple[int, int], origin: None | Tuple[int] | Tuple[int, int] = None) ndarray [source]#
Return the distance to the window origin in pixels.
Window origin. If not given, half the shape is used as origin for each axis.
Distance to the window origin in pixels.