Processing math: 100%

sknano.structures.compute_R_chiral_angle

sknano.structures.compute_R_chiral_angle(*Ch, *, degrees=True, **kwargs)[source][source]

Compute “chiral angle” of symmetry vector θR.

θR=tan1(3q2p+q)
Parameters:

*Ch : {tuple or ints}

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

degrees : bool, optional

If True, return angle in degrees

Returns:

float

Chiral angle of symmetry vector θR in degrees (default) or radians (if degrees=False).