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_symmetry (bool, optional) – Whether to consider equivalent vectors to find the smallest angle under symmetry. Default is
False
.
- Returns:
The angle between the vectors, in radians. If
use_symmetry=True
, the angles are the smallest under symmetry.- Return type: