b67ace1dca1e2fd6511ef6e05923762b1b569b1d,dipy/align/tests/test_imwarp.py,,test_cc_3d,#,549

Before Change



    img, gtab = read_sherbrooke_3shell()

    moving = np.array(img.get_data()[..., 0], dtype = floating)

    //Warp the S0 with a synthetic rotation
    degrees = np.array([2.0, 3.0, 4.0])
    angles = degrees * (np.pi/180.0)
    rotation = getRotationMatrix(angles)
    new_shape = np.array(moving.shape, dtype = np.int32)
    static = np.asarray(vfu.warp_volume_affine(moving, new_shape, rotation))

    //Create the CC metric
    sigma_diff = 2.0
    radius = 4

After Change

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: nipy/dipy
Commit Name: b67ace1dca1e2fd6511ef6e05923762b1b569b1d
Time: 2014-04-13
Author: jomaroceguedag@gmail.com
File Name: dipy/align/tests/test_imwarp.py
Class Name:
Method Name: test_cc_3d


Project Name: nipy/dipy
Commit Name: b67ace1dca1e2fd6511ef6e05923762b1b569b1d
Time: 2014-04-13
Author: jomaroceguedag@gmail.com
File Name: dipy/align/tests/test_imwarp.py
Class Name:
Method Name: test_em_2d


Project Name: nipy/dipy
Commit Name: b67ace1dca1e2fd6511ef6e05923762b1b569b1d
Time: 2014-04-13
Author: jomaroceguedag@gmail.com
File Name: dipy/align/tests/test_imwarp.py
Class Name:
Method Name: test_cc_2d


Project Name: nipy/dipy
Commit Name: b67ace1dca1e2fd6511ef6e05923762b1b569b1d
Time: 2014-04-13
Author: jomaroceguedag@gmail.com
File Name: dipy/align/tests/test_imwarp.py
Class Name:
Method Name: test_ssd_3d