sknano.structures.compute_dt¶
-
sknano.structures.
compute_dt
(*Ch, *, bond=None, **kwargs)[source][source]¶ Compute nanotube diameter \(d_t\) in Å.
\[d_t = \frac{|\mathbf{C}_h|}{\pi}\]Parameters: 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)\).
bond : float, optional
Distance between nearest neighbor atoms (i.e., bond length). Must be in units of Å. Default value is the carbon-carbon bond length in graphite, approximately \(\mathrm{a}_{\mathrm{CC}} = 1.42\) Å
Returns: float
Nanotube diameter \(d_t\) in Å.