in_fundamental_sector#

Miller.in_fundamental_sector(symmetry: Optional['orix.quaternion.Symmetry'] = None) Miller[source]#

Project Miller indices to a symmetry’s fundamental sector (inverse pole figure).

This projection is taken from MTEX’ project2FundamentalRegion.

Parameters:
symmetry

Symmetry with a fundamental sector, possibly not equal to point_group. If not given, point_group is used if valid, otherwise an error is raised.

Returns:
mill

Vectors within the fundamental sector.

Examples

>>> from orix.crystal_map import Phase
>>> from orix.quaternion.symmetry import D6h
>>> from orix.vector import Miller
>>> mill = Miller(uvw=(-1, 1, 0), phase=Phase(point_group="m-3m"))
>>> mill.in_fundamental_sector()
Miller (1,), point group m-3m, uvw
[[1. 0. 1.]]
>>> mill.in_fundamental_sector(D6h)
Miller (1,), point group m-3m, uvw
[[1.366 0.366 0.   ]]

Examples using Miller.in_fundamental_sector#