from_highest_indices#

classmethod Miller.from_highest_indices(phase: Phase, uvw: np.ndarray | list | tuple | None = None, hkl: np.ndarray | list | tuple | None = None, include_zero_vector: bool = False) Self[source]#

Create a set of unique direct or reciprocal lattice vectors from three highest indices and a phase (crystal lattice and symmetry).

Parameters:
phase

A phase with a crystal lattice and symmetry.

uvw

Three highest direct lattice vector indices.

hkl

Three highest reciprocal lattice vector indices.

Examples using Miller.from_highest_indices#

Rotating z-vector to high-symmetry crystal directions

Rotating z-vector to high-symmetry crystal directions