MDAtom¶
-
class
sknano.core.atoms.md_atoms.MDAtom(*args, reference_atom=None, **kwargs)[source] [edit on github][source]¶ Bases:
sknano.core.atoms.energy_atoms.EnergyAtom,sknano.core.atoms.force_atoms.ForceAtom,sknano.core.atoms.velocity_atoms.VelocityAtom,sknano.core.atoms.structure_atoms.StructureAtomAn
Atomsub-class for molecular dynamics trajectory analysis.Parameters: reference_atom ( Atomsub-class) –Attributes
CNNeighborAtomcoordination number.NNNearest-neighbor Atoms.NneighborsNumber of neighbors. POAV1POAV1instance.POAV2POAV2instance.POAVRPOAVRinstance.ZAtomic number \(Z\). anglesAtom bond Angles.atomIDAlias for id.atomtypebondsAtom BondsdihedralsAtom Dihedralsdr\(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_neighborsFirst nearest neighbors. fmtstrFormat 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.impropersAtom Impropersix\(i_x\) image flag. iy\(i_y\) image flag. iz\(i_z\) image flag. keAtomkinetic energy.latticeCrystal3DLattice.mAn alias for mass.massAtomic mass \(m_a\) in atomic mass units. molmol.moleculeIDAlias for mol.molidAn alias for mol.neighbor_distancesNeighbor atom distances. neighbor_mapNeighbor atoms. neighborsNeighbor atoms. peAtompotential 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.reference_atomReference atom. reference_atom_bondsReturn atom Bondsinstance.reference_atom_neighborsreference_atomneighbor atoms.rsScaled \(x, y, z\) components of Atomposition vector.second_neighborsSecond nearest neighbors serialAlias for id.symbolElement symbol. third_neighborsThird nearest neighbors typetype.v\(v_x, v_y, v_z\) array of velocity components. vmd_indexVMD atom index attribute. vx\(x\) component of VelocityAtomvelocity vectorvy\(x\) component of VelocityAtomvelocity vectorvz\(z\) component of VelocityAtomvelocity vectorx\(x\)-coordinate in units of Angstroms. xsScaled \(x\)-coordinate. y\(y\)-coordinate in units of Angstroms. ysScaled \(y\)-coordinate. z\(z\)-coordinate in units of Angstroms. zsScaled \(z\)-coordinate. Methods
get_coords([asdict])Return atom coords. get_nth_nearest_neighbors(n[, exclusive])Get the `n`th set of neighbors. getattr(attr[, default, recursive])Get atom attribute named attr.reset_attrs(**kwargs)Reset atom attributes. rezero([epsilon])Re-zero position vector components. rezero_coords([epsilon])Alias for Atom.rezero_xyz.rezero_xyz([epsilon])Re-zero position vector components. rotate(**kwargs)Rotate Atomposition vector.set_nth_nearest_neighbors(n, neighbors)Set nth nearest neighbors todict()Return dictof constructor parameters.translate(t[, fix_anchor_point, cartesian])Translate Atomposition vector byVectort.update_attrs(**kwargs)Update atom attributes. Attributes Summary
reference_atomReference atom. reference_atom_bondsReturn atom Bondsinstance.reference_atom_neighborsreference_atomneighbor atoms.Methods Summary
todict()Return dictof constructor parameters.Attributes Documentation
-
reference_atom¶ Reference atom.
-
reference_atom_bonds¶ Return atom
Bondsinstance.
-
reference_atom_neighbors¶ reference_atomneighbor atoms.
Methods Documentation
-
todict()[source] [edit on github][source]¶ Return
dictof constructor parameters.
-