3ebeb8037e7bbb3007ddf668cb5e6512a0f70b5f,dipy/tracking/fact_tracking.py,FactTensorModel,next_step,#Any#Any#,66
Before Change
self.angel_limit = angle_limit
def next_step(vox_loc, prev_step):
vox_loc = vox_loc.astype("int")
if self.fa_vol[vox_loc] < self.fa_limit:
return False
step = self.evec1_vol[vox_loc]
angle_dot = dot(step, prev_step)
After Change
def next_step(location, prev_step):
Returns the nearest neighbor tensor for location
vox_loc = location/self.voxel_size
vox_loc = tuple(int(ii) for ii in vox_loc)
try:
if self.fa_vol[vox_loc] < self.fa_limit:
return
step = self.evec1_vol[vox_loc]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: nipy/dipy
Commit Name: 3ebeb8037e7bbb3007ddf668cb5e6512a0f70b5f
Time: 2011-07-27
Author: mrbago+git@gmail.com
File Name: dipy/tracking/fact_tracking.py
Class Name: FactTensorModel
Method Name: next_step
Project Name: scikit-image/scikit-image
Commit Name: 82111e4c0b3169a3856da02112c86447a3381ecc
Time: 2019-09-11
Author: r.fezzani@vitadx.com
File Name: skimage/transform/radon_transform.py
Class Name:
Method Name: radon
Project Name: open-mmlab/mmcv
Commit Name: 978ecfda84d59435dd93be6aa3ceee313e997f6c
Time: 2018-08-27
Author: chenkaidev@gmail.com
File Name: mmcv/video/optflow.py
Class Name:
Method Name: quantize_flow