zone_axes_coordinates#

GeometricalKikuchiPatternSimulation.zone_axes_coordinates(index: int | tuple | None = None, coordinates: Literal['pixel', 'gnomonic', 'detector'] = 'pixel', 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 “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 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.