TypeAtom¶
-
class
sknano.core.atoms.TypeAtom(*args, type=1, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.atoms.atoms.AtomAn
Atomclass with an atom type attribute.Parameters: - element ({str, int}, optional) – A string representation of the element symbol or an integer specifying an element atomic number.
- type (int, optional) – atom type
Attributes
ZAtomic number \(Z\). atomtypeelementElement symbol. fmtstrFormat string. mAn alias for mass.massAtomic mass \(m_a\) in atomic mass units. symbolElement symbol. typetype.Methods
getattr(attr[, default, recursive])Get atom attribute named attr.reset_attrs(**kwargs)Reset atom attributes. rezero(*args, **kwargs)todict()update_attrs(**kwargs)Update atom attributes. Attributes Summary
atomtypetypetype.Methods Summary
todict()Attributes Documentation
-
atomtype¶
Methods Documentation
-
todict()[source] [edit on github][source]¶