compute_Lz

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

Compute the axis-aligned length along the z-axis in Angstroms.

\(L_z = L_{\mathrm{tube}}\) in Angstroms.

Changed in version 0.4.0: Changed units from nanometers to Angstroms

\[L_z = n_z |\mathbf{T}|\]
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)\).

  • nz ({int, float}) – Number of nanotube unit cells
  • 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:

\(L_z = L_{\mathrm{tube}}\) in Angstroms

Return type:

float