compute_Natoms_per_tube

sknano.core.structures.compute_Natoms_per_tube(*Ch, nz=1)[source] [edit on github][source]

Compute Natoms/tube

Natoms/tube=Natoms/cell×nzcells
Parameters:
  • *Ch

    Either a 2-tuple of ints or 2 integers giving the chiral indices of the nanotube chiral vector Ch=na1+ma2=(n,m).

  • nz ({int, float}) – Number of nanotube unit cells
Returns:

Natoms/tube

Return type:

int