trackpy.predict.NearestVelocityPredict

class trackpy.predict.NearestVelocityPredict(initial_guess_positions=None, initial_guess_vels=None, span=1)

Predict a particle’s position based on the most recent nearby velocity.

Parameters:

initial_guess_positions : Nxd array, optional

initial_guess_vels : Nxd array, optional

If specified, these initialize the velocity field with velocity samples at the given points.

span : integer, default 1

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