pwtools.crys.Trajectory.get_velocity

Trajectory.get_velocity()

Calculate velocity from coords and timestep if velocity=None.