compute_R¶
-
sknano.core.structures.
compute_R
(*Ch, bond=None, length=False, **kwargs)[source] [edit on github][source]¶ Compute symmetry vector R=(p,q).
The symmetry vector is any lattice vector of the unfolded graphene layer that represents a symmetry operation of the nanotube. The symmetry vector R can be written as:
R=pa1+qa2where p and q are integers. The symmetry vector represents a symmetry operation of the nanotube which arises as a screw translation, which is a combination of a rotation ψ and translation τ. The symmetry operation of the nanotube can be written as:
R=(ψ|τ)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).
- bond (float, optional) – Distance between nearest neighbor atoms (i.e., bond length). Must be in units of Å. Default value is the carbon-carbon bond length in graphite, approximately aCC=1.42 Å
- length (bool, optional) – If
True
, return |R|.
Returns: - (p, q) (tuple) – 2-tuple of ints – components of R.
- float –
Length of R (|R|) if
length
isTrue
in units of Å.
- *Ch –