ChargedAtom¶
-
class
sknano.core.atoms.charged_atoms.ChargedAtom(*args, q=0.0, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.atoms.atoms.AtomAn
Atomclass with an electric charge attribute.Parameters: - element ({str, int}, optional) – A string representation of the element symbol or an integer specifying an element atomic number.
- q ({int, float}, optional) – Net charge of
ChargedAtom.
Attributes
ZAtomic number \(Z\). elementElement symbol. fmtstrFormat string. mAn alias for mass.massAtomic mass \(m_a\) in atomic mass units. qCharge \(q\) as multiple of elementary charge \(e\). symbolElement symbol. 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
qCharge \(q\) as multiple of elementary charge \(e\). Methods Summary
todict()Attributes Documentation
-
q¶ Charge \(q\) as multiple of elementary charge \(e\).
Methods Documentation
-
todict()[source] [edit on github][source]¶