SuperCell

class sknano.core.crystallography.SuperCell(unit_cell, scaling_matrix, wrap_coords=False)[source] [edit on github][source]

Bases: sknano.core.crystallography.CrystalCell

Class representation of crystal structure supercell.

Parameters:

Attributes

basis BasisAtoms.
fmtstr Format string.
lattice CrystalLattice.
scaling_matrix Scaling matrix.
unit_cell UnitCell.

Methods

rotate(**kwargs) Rotate crystal cell lattice, basis, and unit cell.
todict() dict of CrystalCell parameters.
translate(t[, fix_anchor_points]) Translate crystal cell basis.
update_basis(element[, index, step]) Update a crystal cell basis element.