39ddc5f5d2cb75be64204438d60dd3a45d4c300f,dipy/sims/voxel.py,,multi_tensor_pdf,#Any#Any#Any#Any#Any#,531

Before Change


    pdf = np.zeros(len(pdf_points))

    if mevals is None:
        mevals = [None, ] * len(mf)

    if mevecs is None:
        mevecs = [np.eye(3) for i in range(len(mf))]

After Change


    if angles.shape[-1] == 3:
        sticks = angles
    else:
        sticks = [sphere2cart(1, np.deg2rad(pair[0]), np.deg2rad(pair[1]))
                  for pair in angles]
        sticks = np.array(sticks)

    pdf = np.zeros(len(pdf_points))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: nipy/dipy
Commit Name: 39ddc5f5d2cb75be64204438d60dd3a45d4c300f
Time: 2013-12-21
Author: garyfallidis@gmail.com
File Name: dipy/sims/voxel.py
Class Name:
Method Name: multi_tensor_pdf


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


Project Name: matplotlib/matplotlib
Commit Name: fdad18860aadc13b839f1ba2c08d0d7926687c71
Time: 2019-08-08
Author: anntzer.lee@gmail.com
File Name: examples/pie_and_polar_charts/polar_legend.py
Class Name:
Method Name: