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:
- other
ReciprocalLatticeVector 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.
- other
- Returns:
numpy.ndarrayThe angle between the vectors, in radians. If
use_symmetry=True, the angles are the smallest under symmetry.