sknano.core.atoms.IDAtom¶
-
class
sknano.core.atoms.IDAtom(*args, *, id=0, mol=0, **kwargs)[source][source]¶ An
Atomclass 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
ZAtomic number \(Z\). atomIDelementElement symbol. fmtstrFormat string. idid.mmassAtomic mass \(m_a\) in atomic mass units. molmol.moleculeIDsymbolElement symbol. Methods
rezero(*args, **kwargs)rotate(**kwargs)todict()translate(*args, **kwargs)