trackpy.predict.DriftPredict

class trackpy.predict.DriftPredict(initial_guess=None, span=1)

Predict a particle’s position based on the mean velocity of all particles.

Parameters:

initial_guess : Array of length d. Otherwise assumed to be zero velocity.

span : integer, default 1

Compute velocity field from the most recent span+1 frames.