trackpy.predict.predictor¶
- trackpy.predict.predictor(predict_func)¶
Decorator to vectorize a predictor function for a single particle.
Converts P(t1, particle) into Pvec(t1, particles), where ‘particles’ is a list of particle instances, and ‘Pvec’ can be passed to a linking function (e.g. link_df_iter()) via its ‘predictor’ argument.