sknano.structures.compute_Natoms_per_tube¶
-
sknano.structures.
compute_Natoms_per_tube
(*Ch, *, nz=1)[source][source]¶ Compute \(N_{\mathrm{atoms/tube}}\)
\[N_{\mathrm{atoms/tube}} = N_{\mathrm{atoms/cell}} \times n_{z-\mathrm{cells}}\]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)\).
nz : {int, float}
Number of nanotube unit cells
Returns: int
\(N_{\mathrm{atoms/tube}}\)