compute_chiral_angle¶
-
sknano.core.structures.
compute_chiral_angle
(*Ch, degrees=True, **kwargs)[source] [edit on github][source]¶ Compute chiral angle θc.
θc=tan−1(√3m2n+m)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).
- degrees (bool, optional) – If
True
, return angle in degrees.
Returns: Chiral angle θc in degrees (default) or radians (if
degrees=False
).Return type: - *Ch –