sknano.structures.compute_chiral_angle¶
-
sknano.structures.
compute_chiral_angle
(*Ch, *, degrees=True, **kwargs)[source][source]¶ Compute chiral angle θc.
θc=tan−1(√3m2n+m)Parameters: 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 θc in degrees (default) or radians (if degrees=False).