GraphenePrimitiveCell

class sknano.core.structures.GraphenePrimitiveCell(bond=1.42, a=2.4595121467478056, c=3.4, gamma=60, basis=['C', 'C'], coords=[[0, 0, 1.7], [1.42, 0, 1.7]], cartesian=True)[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.