CrystalStructureBase

class sknano.core.structures.CrystalStructureBase(*args, lattice=None, basis=None, coords=None, cartesian=False, scaling_matrix=None, **kwargs)[source] [edit on github][source]

Bases: sknano.core.structures.StructureBase, sknano.core.meta.BaseClass

Base class for abstract representions of crystal structures.

Parameters:

Attributes

atoms Structure Atoms.
basis Structure BasisAtoms.
crystal_cell Structure CrystalCell.
fmtstr Format string.
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.
todict() Return dict of 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 dict of constructor parameters.

Methods Documentation

todict()[source] [edit on github][source]

Return dict of constructor parameters.