StructureBase

class sknano.core.structures.StructureBase(*args, **kwargs)[source] [edit on github][source]

Bases: sknano.core.strings.TabulateMixin, sknano.core.structures.StructureMixin

Base structure class for structure data.

Attributes

atoms Structure Atoms.
basis Structure BasisAtoms.
crystal_cell Structure CrystalCell.
lattice Structure Crystal3DLattice.
lattice_shift Lattice displacement vector.
scaling_matrix CrystalCell.scaling_matrix.
structure An alias to self.
unit_cell Structure UnitCell.

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.
transform_lattice(scaling_matrix[, ...]) Transform structure lattice.
translate(t[, fix_anchor_points]) Translate crystal cell lattice, basis, and unit cell.