compute_dt

sknano.core.structures.compute_dt(*Ch, bond=None, **kwargs)[source] [edit on github][source]

Compute nanotube diameter \(d_t\) in Å.

\[d_t = \frac{|\mathbf{C}_h|}{\pi}\]
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)\).

  • 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:

Nanotube diameter \(d_t\) in Å.

Return type:

float