sknano.structures.compute_R_chiral_angle

sknano.structures.compute_R_chiral_angle(*Ch, *, degrees=True, **kwargs)[source][source]

Compute “chiral angle” of symmetry vector \(\theta_R\).

\[\theta_R = \tan^{-1}\left(\frac{\sqrt{3}q}{2p + q}\right)\]
Parameters:

*Ch : {tuple or ints}

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:

float

Chiral angle of symmetry vector \(\theta_R\) in degrees (default) or radians (if degrees=False).