compute_N

sknano.core.structures.compute_N(*Ch)[source] [edit on github][source]

Compute N=2(n2+m2+nm)dR.

N is the number of graphene hexagons mapped to a nanotube unit cell.

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).

Returns:Number of hexagons per nanotube unit cell: N=2(n2+m2+nm)dR.
Return type:int