sknano.structures.compute_t2¶
-
sknano.structures.
compute_t2
(*Ch)[source][source]¶ Compute t2=−2n+mdR
where dR=gcd.
The component of the translation vector \mathbf{T} along \mathbf{a}_2:
\mathbf{T} = t_1\mathbf{a}_1 + t_2\mathbf{a}_2Parameters: 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: int
t_2