zone_axes_coordinates#
- GeometricalKikuchiPatternSimulation.zone_axes_coordinates(index: Optional[Union[int, tuple]] = None, coordinates: str = 'detector', exclude_nan: bool = True) ndarray[source]#
Get zone axis coordinates of a single simulation.
- Parameters:
- index
Index of the simulation to get zone axis 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 zone axes not present in the pattern. Default is
True. By passingFalse, all simulations (by varyingindex) returns an array of the same shape.
- Returns:
coordsZone axis coordinates.
See also