compute_psi

sknano.core.structures.compute_psi(*Ch)[source] [edit on github][source]

Compute rotation component of symmetry operation \(\psi\) in radians.

\[\psi = \frac{2\pi}{N}\]
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)\).

Returns:Rotation component of symmetry operation \(\psi\) in radians.
Return type:float