1fc54fd0060ba22783727bb92f414fce7b36fbec,dipy/reconst/tests/test_dti.py,,test_masked_array_with_Tensor,#,116
Before Change
mask = np.array([[True, False, False, True],
[True, False, True, False]])
gtab, bval = read_bvec_file(os.path.join(os.path.dirname(__file__),
"data","55dir_grad.bvec"))
tensor = dti.Tensor(data, bval, gtab.T, mask=mask, min_signal=1e-9)
yield assert_equal(tensor.shape, (2,4))
After Change
mask = np.array([[True, False, False, True],
[True, False, True, False]])
gtab, bval = read_bvec_file(get_data("55dir_grad.bvec"))
tensor = dti.Tensor(data, bval, gtab.T, mask=mask, min_signal=1e-9)
yield assert_equal(tensor.shape, (2,4))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: nipy/dipy
Commit Name: 1fc54fd0060ba22783727bb92f414fce7b36fbec
Time: 2010-12-18
Author: garyfallidis@gmail.com
File Name: dipy/reconst/tests/test_dti.py
Class Name:
Method Name: test_masked_array_with_Tensor
Project Name: nipy/dipy
Commit Name: 1fc54fd0060ba22783727bb92f414fce7b36fbec
Time: 2010-12-18
Author: garyfallidis@gmail.com
File Name: dipy/reconst/tests/test_dti.py
Class Name:
Method Name: test_passing_maskedview
Project Name: nipy/dipy
Commit Name: 1fc54fd0060ba22783727bb92f414fce7b36fbec
Time: 2010-12-18
Author: garyfallidis@gmail.com
File Name: dipy/reconst/tests/test_dti.py
Class Name:
Method Name: test_init
Project Name: nipy/dipy
Commit Name: 1fc54fd0060ba22783727bb92f414fce7b36fbec
Time: 2010-12-18
Author: garyfallidis@gmail.com
File Name: dipy/reconst/tests/test_dti.py
Class Name:
Method Name: test_WLS_and_LS_fit
Project Name: nipy/dipy
Commit Name: 1fc54fd0060ba22783727bb92f414fce7b36fbec
Time: 2010-12-18
Author: garyfallidis@gmail.com
File Name: dipy/reconst/tests/test_dti.py
Class Name:
Method Name: test_masked_array_with_Tensor