angle_with#

ReciprocalLatticeVector.angle_with(other, use_symmetry=False)[source]#

Calculate angles between reciprocal lattice vectors, possibly using symmetrically equivalent vectors to find the smallest angle under symmetry.

Parameters:
otherReciprocalLatticeVector

Other vectors of compatible shape to the vectors.

use_symmetrybool, optional

Whether to consider equivalent vectors to find the smallest angle under symmetry. Default is False.

Returns:
numpy.ndarray

The angle between the vectors, in radians. If use_symmetry=True, the angles are the smallest under symmetry.