trackpy.predict.NearestVelocityPredict.wrap¶
- NearestVelocityPredict.wrap(linking_fcn, *args, **kw)¶
Wrapper for an arbitrary linking function that causes it to use this predictor.
The linking function must accept a ‘predictor’ keyword argument.
The linking function must accept a ‘predictor’ keyword argument. It must return an iterator of DataFrames, emitting a DataFrame each time a frame is linked.