trackpy.motion.velocity_corr

trackpy.motion.velocity_corr(t, frame1, frame2)

Compute the velocity correlation between every pair of particles’ displacements.

Parameters:
tDataFrame

trajectories, containing columns particle, frame, x, and y

frame1frame number
frame2frame number
Returns:
DataFrame, indexed by particle, including dx, dy, and direction