NanotubeUnitCell

class sknano.core.structures.NanotubeUnitCell(*args, lattice=None, **kwargs)[source] [edit on github][source]

Bases: sknano.core.crystallography.UnitCell

Primitive graphene unit cell with 2 atom basis.

Parameters:
  • bond (float, optional) –
  • a (float, optional) –
  • gamma ({60, 120}, optional) –
  • basis ({list, BasisAtoms}, optional) –
  • coords ({list}, optional) –
  • cartesian ({bool}, optional) –

Attributes

fmtstr Format string.

Methods

rotate(**kwargs) Rotate unit cell lattice vectors and basis.
todict() Return dict of UnitCell parameters.
translate(t[, fix_anchor_points]) Translate unit cell basis.