compute_R_chiral_angle¶
-
sknano.core.structures.
compute_R_chiral_angle
(*Ch, degrees=True, **kwargs)[source] [edit on github][source]¶ Compute “chiral angle” of symmetry vector \(\theta_R\).
\[\theta_R = \tan^{-1}\left(\frac{\sqrt{3}q}{2p + q}\right)\]Parameters: - *Ch –
Either a 2-tuple of ints or 2 integers giving the chiral indices of the nanotube chiral vector \(\mathbf{C}_h = n\mathbf{a}_1 + m\mathbf{a}_2 = (n, m)\).
- degrees (bool, optional) – If
True
, return angle in degrees
Returns: Chiral angle of symmetry vector \(\theta_R\) in degrees (default) or radians (if
degrees=False
).Return type: - *Ch –