sknano.core.atoms.Atom

class sknano.core.atoms.Atom(*args, *, element=None, mass=None, Z=None, **kwargs)[source][source]

Base class for abstract representation of structure atom.

Parameters:

element : {str, int}, optional

A string representation of the element symbol or an integer specifying an element atomic number \(\boldsymbol{Z}\).

Attributes

Z Atomic number \(Z\).
element Element symbol.
fmtstr Format string.
m
mass Atomic mass \(m_a\) in atomic mass units.
symbol Element symbol.

Methods

rezero(*args, **kwargs)
rotate(**kwargs)
todict() Return dict of Atom constructor parameters.
translate(*args, **kwargs)