compute_t1¶
-
sknano.core.structures.
compute_t1
(*Ch)[source] [edit on github][source]¶ Compute t1=2m+ndR
where dR=gcd.
The component of the translation vector \mathbf{T} along \mathbf{a}_1:
\mathbf{T} = t_1\mathbf{a}_{1} + t_2\mathbf{a}_2Parameters: *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: t_1 Return type: int