GrapheneConventionalCell

class sknano.core.structures.GrapheneConventionalCell(bond=1.42, a=4.26, b=2.4595121467478056, c=3.4, basis=['C', 'C', 'C', 'C'], coords=[[0, 0, 1.7], [1.42, 0, 1.7], [2.13, 1.2297560733739028, 1.7], [3.55, 1.2297560733739028, 1.7]], cartesian=True)[source] [edit on github][source]

Bases: sknano.core.crystallography.UnitCell

Conventional (rectangular) graphene unit cell with 4 atom basis.

Parameters:
  • bond (float, optional) –
  • b (a,) –
  • 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.