d8d0c544e8c836a5974b4c7b82679aae81a5914b,dipy/reconst/dti.py,,radial_diffusivity,#Any#Any#,122

Before Change


        msg = "Expecting 3 eigenvalues, got {}".format(evals.shape[0])
        raise ValueError(msg)

    ev1, ev2, ev3 = evals
    return (ev2 + ev3) / 2


def trace(evals, axis=-1):
    r

After Change


        msg = "Expecting 3 eigenvalues, got {}".format(evals.shape[0])
        raise ValueError(msg)

    return evals[1:].mean(0)

def trace(evals, axis=-1):
    r
    Trace of a diffusion tensor.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: nipy/dipy
Commit Name: d8d0c544e8c836a5974b4c7b82679aae81a5914b
Time: 2013-04-13
Author: erik.ziegler@ulg.ac.be
File Name: dipy/reconst/dti.py
Class Name:
Method Name: radial_diffusivity


Project Name: nipy/dipy
Commit Name: d8d0c544e8c836a5974b4c7b82679aae81a5914b
Time: 2013-04-13
Author: erik.ziegler@ulg.ac.be
File Name: dipy/reconst/dti.py
Class Name:
Method Name: radial_diffusivity


Project Name: nipy/dipy
Commit Name: d8d0c544e8c836a5974b4c7b82679aae81a5914b
Time: 2013-04-13
Author: erik.ziegler@ulg.ac.be
File Name: dipy/reconst/dti.py
Class Name:
Method Name: mean_diffusivity


Project Name: nipy/dipy
Commit Name: e691d66278a68c3ebe73ad5d7e30f1f25f5c9b25
Time: 2013-04-02
Author: mrbago@gmail.com
File Name: dipy/reconst/dti.py
Class Name:
Method Name: mean_diffusivity


Project Name: nipy/dipy
Commit Name: e691d66278a68c3ebe73ad5d7e30f1f25f5c9b25
Time: 2013-04-02
Author: mrbago@gmail.com
File Name: dipy/reconst/dti.py
Class Name:
Method Name: radial_diffusivity