lines_coordinates#
- GeometricalKikuchiPatternSimulation.lines_coordinates(index: Optional[Union[int, tuple]] = None, coordinates: str = 'detector', exclude_nan: bool = True) ndarray [source]#
Get Kikuchi line coordinates of a single simulation.
- Parameters:
- index
Index of the simulation to get line coordinates for. If not given, this is the first simulation.
- coordinates
The type of coordinates, either
"detector"
(default) or"gnomonic"
.- exclude_nan
Whether to exclude coordinates of Kikuchi lines not present in the pattern. Default is
True
. By passingFalse
, all simulations (by varyingindex
) returns an array of the same shape.
- Returns:
coords
Kikuchi line coordinates.
See also