UnitCell

class sknano.core.crystallography.UnitCell(lattice=None, basis=None, coords=None, cartesian=False, wrap_coords=False)[source] [edit on github][source]

Bases: sknano.core.meta.BaseClass, sknano.core.strings.TabulateMixin

Base class for abstract representations of crystallographic unit cells.

Parameters:

Attributes

fmtstr Format string.

Methods

rotate(**kwargs) Rotate unit cell lattice vectors and basis.
todict() Return dict of UnitCell parameters.
translate(t[, fix_anchor_points]) Translate unit cell basis.

Methods Summary

rotate(**kwargs) Rotate unit cell lattice vectors and basis.
todict() Return dict of UnitCell parameters.
translate(t[, fix_anchor_points]) Translate unit cell basis.

Methods Documentation

rotate(**kwargs)[source] [edit on github][source]

Rotate unit cell lattice vectors and basis.

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

Return dict of UnitCell parameters.

translate(t, fix_anchor_points=True)[source] [edit on github][source]

Translate unit cell basis.