sknano.core.atoms.MDAtom¶
-
class
sknano.core.atoms.MDAtom(*args, *, reference_atom=None, t0_atom=None, **kwargs)[source][source]¶ An
Atomclass for molecular dynamics trajectory analysis.Attributes
CNStructureAtomcoordination number.NNPOAV1POAV1instance.POAV2POAV2instance.POAVRPOAVRinstance.ZAtomic number \(Z\). atomIDatomtypebondsReturn atom Bondsinstance.dr\(x, y, z\) components of Atomdisplacement vector.elementElement symbol. etotalAtomtotal energy (pe+ke).f\(f_x, f_y, f_z\) array of force vector components. first_neighborsfmtstrFormat string. fx\(x\) component of ForceAtomforce vectorfy\(x\) component of ForceAtomforce vectorfz\(z\) component of ForceAtomforce vectori\(i_x, i_y, i_z\) image flags idid.ix\(i_x\) image flag. iy\(i_y\) image flag. iz\(i_z\) image flag. keAtomkinetic energy.latticeCrystal3DLattice.mmassAtomic mass \(m_a\) in atomic mass units. molmol.moleculeIDneighbor_distancesNeighbor atom distances. neighborsNeighbor atoms. pbcpeAtompotential energy.qCharge \(q\) as multiple of elementary charge \(e\). r\(x, y, z\) components of Atomposition vector.r0\(x, y, z\) components of Atomposition vector at t=0.rs\(x, y, z\) components of Atomposition vector.second_neighborssymbolElement symbol. third_neighborstypetype.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 vectorx\(x\)-coordinate in units of Angstroms. xperiodicxs\(x\)-coordinate in units of Angstroms. y\(y\)-coordinate in units of Angstroms. yperiodicys\(y\)-coordinate in units of Angstroms. z\(z\)-coordinate in units of Angstroms. zperiodiczs\(z\)-coordinate in units of Angstroms. Methods
get_coords([asdict])Return atom coords. get_neighbors(n)rezero([epsilon])Re-zero velocity vector components. rezero_coords([epsilon])Alias for Atom.rezero_xyz.rezero_xyz([epsilon])Re-zero position vector components. rotate(**kwargs)Rotate Atomvelocity vector.set_neighbors(n, neighbors)todict()translate(t[, fix_anchor_point])Translate Atomposition vector byVectort.