sknano.structures.compute_R_chiral_angle¶
-
sknano.structures.compute_R_chiral_angle(n, m, rad2deg=True)[source][source]¶ Compute “chiral angle” of symmetry vector \(\theta_R\).
\[\theta_R = \tan^{-1}\left(\frac{\sqrt{3}q}{2p + q}\right)\]Parameters: n, m : int
Chiral indices defining the nanotube chiral vector \(\mathbf{C}_h = n\mathbf{a}_1 + m\mathbf{a}_2 = (n, m)\).
rad2deg : bool, optional
If True, return angle in degrees
Returns: float
Chiral angle of symmetry vector \(\theta_R\) in degrees (default) or radians (if rad2deg=False).