zone_axes_coordinates#

GeometricalKikuchiPatternSimulation.zone_axes_coordinates(index: int | tuple | None = 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 passing False, all simulations (by varying index) returns an array of the same shape.

Returns:
coords

Zone axis coordinates.