sknano.structures.compute_Natoms

sknano.structures.compute_Natoms(*Ch, *, nz=1)[source][source]

Compute \(N_{\mathrm{atoms/tube}}\)

\[N_{\mathrm{atoms/tube}} = N_{\mathrm{atoms/cell}} \times n_{z-\mathrm{cells}}\]
Parameters:

*Ch : {tuple or ints}

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}}\)