sknano.core.atoms.LatticeAtom

class sknano.core.atoms.LatticeAtom(*args, *, lattice=None, xs=None, ys=None, zs=None, **kwargs)[source][source]

Class representation of a crystal structure lattice atom.

Parameters:

lattice : Crystal3DLattice

xs, ys, zs : float

Attributes

Z Atomic number \(Z\).
element Element symbol.
fmtstr Format string.
lattice Crystal3DLattice.
m
mass Atomic mass \(m_a\) in atomic mass units.
rs \(x, y, z\) components of Atom position vector.
symbol Element symbol.
xs \(x\)-coordinate in units of Angstroms.
ys \(y\)-coordinate in units of Angstroms.
zs \(z\)-coordinate in units of Angstroms.

Methods

rezero(*args, **kwargs)
rotate(**kwargs) Rotate Atom position vector.
todict()
translate(t[, fix_anchor_point]) Translate Atom position vector by Vector t.