lines_coordinates#
- GeometricalKikuchiPatternSimulation.lines_coordinates(index: int | tuple | None = None, coordinates: Literal['detector', 'gnomonic'] = 'detector', exclude_nan: bool = True) ndarray [source]#
Return Kikuchi line coordinates for a single simulation.
- Parameters:
- index
Index of the simulation to get line coordinates for. This is the first simulation if not given.
- coordinates
Coordinate space, either “detector” (default) or “gnomonic”.
- exclude_nan
Whether to exclude coordinates of Kikuchi lines not present in the pattern. Default is True. If False, all simulations (by varying index) return an array of the same shape.
- Returns:
coords
Kikuchi line coordinates.
See also