dea960c4511a5d1339c3359ad15b0ced68bbe21b,trackpy/predict.py,NearestVelocityPredict,observe,#NearestVelocityPredict#Any#,42
Before Change
self.interpolator = NearestNDInterpolator(positions, vels)
else:
// Sadly, the 2 most recent frames had no points in common.
raise UserWarning("Could not generate velocity field for prediction: no tracks")
def null_interpolator(*x):
return np.zeros((len(x),))
self.interpolator = null_interpolator
def predict(self, t1, particle):
After Change
self.interpolator = NearestNDInterpolator(positions, vels)
else:
// Sadly, the 2 most recent frames had no points in common.
warn("Could not generate velocity field for prediction: no tracks")
def null_interpolator(*x):
return np.zeros((len(x),))
self.interpolator = null_interpolator
def predict(self, t1, particle):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: soft-matter/trackpy
Commit Name: dea960c4511a5d1339c3359ad15b0ced68bbe21b
Time: 2014-02-12
Author: nkeim@seas.upenn.edu
File Name: trackpy/predict.py
Class Name: NearestVelocityPredict
Method Name: observe
Project Name: soft-matter/trackpy
Commit Name: dea960c4511a5d1339c3359ad15b0ced68bbe21b
Time: 2014-02-12
Author: nkeim@seas.upenn.edu
File Name: trackpy/predict.py
Class Name: NullPredict
Method Name: link_df_iter
Project Name: batra-mlp-lab/visdial-challenge-starter-pytorch
Commit Name: 75f217a2876265ade70929edd98ecbe2242d253b
Time: 2019-05-27
Author: ysh.kant@gmail.com
File Name: visdialch/utils/checkpointing.py
Class Name:
Method Name: load_checkpoint