sknano.core.atoms.VelocityAtom¶
-
class
sknano.core.atoms.VelocityAtom(*args, *, vx=None, vy=None, vz=None, **kwargs)[source][source]¶ An
Atomclass 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
\(v_x, v_y, v_z\) components of
VelocityAtomvelocity.Attributes
ZAtomic number \(Z\). elementElement symbol. fmtstrFormat string. mmassAtomic mass \(m_a\) in atomic mass units. symbolElement symbol. v\(v_x, v_y, v_z\) array of velocity components. vx\(x\) component of VelocityAtomvelocity vectorvy\(x\) component of VelocityAtomvelocity vectorvz\(z\) component of VelocityAtomvelocity vectorMethods
rezero([epsilon])Re-zero velocity vector components. rotate(**kwargs)Rotate Atomvelocity vector.todict()translate(*args, **kwargs)