vmd.vmdnumpy.velocities

vmd.vmdnumpy.velocities()

Return a zero-copy reference to atomic velocites, or None if no velocity information is present

Parameters:
  • molid (int) – Molecule ID. Defaults to -1 (top molecule)
  • frame (int) – Frame to select. Defaults to -1 (current frame)
Returns:

(N x 3 float32 ndarray)

Reference to velocities, where N is the

number of atoms in the molecule