in_fundamental_sector#

ReciprocalLatticeVector.in_fundamental_sector(symmetry=None)[source]#

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

This projection is taken from MTEX’ project2FundamentalRegion.

Parameters:

symmetry – Symmetry with a fundamental sector.

Returns:

Vectors within the fundamental sector.

Return type:

v

Examples

>>> from orix.quaternion.symmetry import D6h, Oh
>>> from orix.vector import Vector3d
>>> v = Vector3d((-1, 1, 0))
>>> v.in_fundamental_sector(Oh)
Vector3d (1,)
[[1. 0. 1.]]
>>> v.in_fundamental_sector(D6h)
Vector3d (1,)
[[1.366 0.366 0.   ]]