zone_axes_coordinates#

GeometricalKikuchiPatternSimulation.zone_axes_coordinates(index: int | tuple | None = None, coordinates: Literal['detector', 'gnomonic'] = 'detector', exclude_nan: bool = True) ndarray[source]#

Return zone axes coordinates for a single simulation.

Parameters:
index

Index of the simulation to get zone axis 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 zone axes not present in the pattern. Default is True. If False, all simulations (by varying index) return an array of the same shape.

Returns:
coords

Zone axes coordinates.