compute_chiral_angle

sknano.core.structures.compute_chiral_angle(*Ch, degrees=True, **kwargs)[source] [edit on github][source]

Compute chiral angle \(\theta_c\).

\[\theta_c = \tan^{-1}\left(\frac{\sqrt{3} m}{2n + m}\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 \(\theta_{c}\) in degrees (default) or radians (if degrees=False).

Return type:

float