lines_coordinates#
- GeometricalKikuchiPatternSimulation.lines_coordinates(index: int | tuple | None = None, coordinates: Literal['pixel', 'gnomonic', 'detector'] = 'pixel', 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 “pixel” (default) or “gnomonic”.
Passing “detector” is deprecated and will raise an error in version 0.13.0.
- 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:
coordsKikuchi line coordinates.
See also