1feac4702a05ccd0e80bb27277ef81c2b969a2aa,dipy/align/tests/test_streamlinear.py,,test_rigid_partial_real_bundles,#,105

Before Change



    moving_center = srr.optimize(static_center, moving).transform(moving)

    static_center = [downsample(s, 100) for s in static_center]
    moving_center = [downsample(s, 100) for s in moving_center]

    vol = np.zeros((100, 100, 100))
    spts = np.concatenate(static_center, axis=0)

After Change


    moving_center = srr.optimize(static_center, moving).transform(moving)

    static_center = set_number_of_points(static_center, 100)
    moving_center = set_number_of_points(moving_center, 100)

    vol = np.zeros((100, 100, 100))
    spts = np.concatenate(static_center, axis=0)
    spts = np.round(spts).astype(np.int) + np.array([50, 50, 50])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: nipy/dipy
Commit Name: 1feac4702a05ccd0e80bb27277ef81c2b969a2aa
Time: 2014-10-09
Author: garyfallidis@gmail.com
File Name: dipy/align/tests/test_streamlinear.py
Class Name:
Method Name: test_rigid_partial_real_bundles


Project Name: nipy/dipy
Commit Name: 7a767c867a4f582ab51db1a0028d6636ac29f4ec
Time: 2019-07-31
Author: skab12@gmail.com
File Name: dipy/tracking/tests/test_distances.py
Class Name:
Method Name: test_LSCv2


Project Name: nipy/dipy
Commit Name: 91de7d2d8ade566113cf6ea61a426152aea1d821
Time: 2020-02-24
Author: francois.m.rheault@usherbrooke
File Name: doc/examples/streamline_length.py
Class Name:
Method Name: