sknano.core.atoms.VelocityAtom¶
-
class
sknano.core.atoms.
VelocityAtom
(*args, *, vx=None, vy=None, vz=None, **kwargs)[source][source]¶ An
Atom
class with velocity component attributes.Parameters: element : {str, int}, optional
A string representation of the element symbol or an integer specifying an element atomic number.
vx, vy, vz : float, optional
vx,vy,vz components of
VelocityAtom
velocity.Attributes
Z
Atomic number Z. element
Element symbol. fmtstr
Format string. m
mass
Atomic mass ma in atomic mass units. symbol
Element symbol. v
vx,vy,vz array of velocity components. vx
x component of VelocityAtom
velocity vectorvy
x component of VelocityAtom
velocity vectorvz
z component of VelocityAtom
velocity vectorMethods
rezero
([epsilon])Re-zero velocity vector components. rotate
(**kwargs)Rotate Atom
velocity vector.todict
()translate
(*args, **kwargs)