sknano.core.atoms.IDAtom¶
-
class
sknano.core.atoms.
IDAtom
(*args, *, id=0, mol=0, **kwargs)[source][source]¶ An
Atom
class with id attributes.Parameters: element : {str, int}, optional
A string representation of the element symbol or an integer specifying an element atomic number.
id : int, optional
atom ID
mol : int, optional
molecule ID
Attributes
Z
Atomic number \(Z\). atomID
element
Element symbol. fmtstr
Format string. id
id
.m
mass
Atomic mass \(m_a\) in atomic mass units. mol
mol
.moleculeID
symbol
Element symbol. Methods
rezero
(*args, **kwargs)rotate
(**kwargs)todict
()translate
(*args, **kwargs)