sknano.core.atoms.ChargedAtom¶
-
class
sknano.core.atoms.
ChargedAtom
(*args, *, q=0.0, **kwargs)[source][source]¶ An
Atom
class 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
Z
Atomic number Z. element
Element symbol. fmtstr
Format string. m
mass
Atomic mass ma in atomic mass units. q
Charge q as multiple of elementary charge e. symbol
Element symbol. Methods
rezero
(*args, **kwargs)rotate
(**kwargs)todict
()translate
(*args, **kwargs)