compute_Natoms¶
-
sknano.core.structures.
compute_Natoms
(*Ch, nz=1)[source] [edit on github][source]¶ Compute \(N_{\mathrm{atoms/tube}}\)
\[N_{\mathrm{atoms/tube}} = N_{\mathrm{atoms/cell}} \times n_{z-\mathrm{cells}}\]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
Returns: \(N_{\mathrm{atoms/tube}}\)
Return type: - *Ch –