StructureMixin¶
-
class
sknano.core.structures.StructureMixin[source] [edit on github][source]¶ Bases:
objectMixin class for crystal structures.
Attributes
atomsStructure Atoms.basisStructure BasisAtoms.crystal_cellStructure CrystalCell.latticeStructure Crystal3DLattice.lattice_shiftLattice displacement vector. scaling_matrixCrystalCell.scaling_matrix.structureAn alias to self.unit_cellStructure 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. Attributes Summary
atomsStructure Atoms.basisStructure BasisAtoms.crystal_cellStructure CrystalCell.latticeStructure Crystal3DLattice.lattice_shiftLattice displacement vector. scaling_matrixCrystalCell.scaling_matrix.structureAn alias to self.unit_cellStructure UnitCell.Methods Summary
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. Attributes Documentation
-
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.
Methods Documentation
-
clear()[source] [edit on github][source]¶ Clear list of
StructureMixin.atoms.
-
make_supercell(scaling_matrix, wrap_coords=False)[source] [edit on github][source]¶ Make supercell.
-
rotate(**kwargs)[source] [edit on github][source]¶ Rotate crystal cell lattice, basis, and unit cell.
-
transform_lattice(scaling_matrix, wrap_coords=False, pbc=None)[source] [edit on github][source]¶ Transform structure lattice.
-
translate(t, fix_anchor_points=True)[source] [edit on github][source]¶ Translate crystal cell lattice, basis, and unit cell.
-