GrapheneBase¶
-
class
sknano.core.structures.GrapheneBase(nlayers=1, layer_spacing=3.4, layer_rotation_angles=None, layer_rotation_increment=None, stacking_order='AB', degrees=True, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.structures.GrapheneMixin,sknano.core.structures.NanoStructureBaseGraphene base structure class.
New in version 0.3.11.
Parameters: - basis ({
list}, optional) – List ofstrs of element symbols or atomic number of the two atom basis (default: [‘C’, ‘C’]) - bond (float, optional) – \(\mathrm{a}_{\mathrm{CC}} =\) distance between nearest neighbor atoms. Must be in units of Angstroms.
- nlayers (int, optional) – Number of graphene layers (default: 1)
- layer_spacing (float, optional) – Distance between layers in Angstroms (default: 3.4).
- stacking_order ({'AA', 'AB'}, optional) – Stacking order of graphene layers.
- layer_rotation_angles (list, optional) – list of rotation angles for each layer in degrees if
degreesisTrue(default), otherwise in radians. The list length must equal the number of layers. - layer_rotation_increment (float, optional) – incremental layer rotation angle in degrees if
degreesisTrue(default), otherwise in radians. Each subsequent layer will be rotated bylayer_rotation_incrementrelative to the layer below it. - verbose (bool, optional) – verbose output
Attributes
NNumber of graphene unit cells. NatomsTotal number of atoms. Natoms_per_layerNumber of atoms per layer. Natoms_per_unit_cellNumber of atoms per unit cell. areaTotal area of graphene supercell. atomsStructure Atoms.basisNanoStructureBasebasis objects.crystal_cellStructure CrystalCell.element1Basis element 1 element2Basis element 2 fmtstrFormat string. latticeStructure Crystal3DLattice.lattice_shiftLattice displacement vector. n1Number of unit cells along Crystal3DLattice.a1.n2Number of unit cells along Crystal3DLattice.a2.r1Vector GrapheneMixin.n1\(\times\)Crystal3DLattice.a1.r2Vector GrapheneMixin.n2\(\times\)Crystal3DLattice.a2.scaling_matrixCrystalCell.scaling_matrix.structureAn alias to self.unit_cellStructure UnitCell.vdw_distanceVan der Waals distance. vdw_radiusVan der Waals radius Methods
clear()Clear list of StructureMixin.atoms.make_supercell(scaling_matrix[, wrap_coords])Make supercell. rotate(**kwargs)Rotate crystal cell lattice, basis, and unit cell. todict()Return dictof constructor parameters.transform_lattice(scaling_matrix[, ...])Transform structure lattice. translate(t[, fix_anchor_points])Translate crystal cell lattice, basis, and unit cell. Methods Summary
todict()Return dictof constructor parameters.Methods Documentation
-
todict()[source] [edit on github][source]¶ Return
dictof constructor parameters.
- basis ({