2cc153eaef2c01f42175b913d29745faabbf6905,dipy/tracking/tests/test_utils.py,,test_connectivity_matrix,#,104
Before Change
expected[3, 4] = 2
expected[4, 3] = 1
// Check basic Case
matrix = connectivity_matrix(streamlines, label_volume, (1, 1, 1),
symmetric=False)
npt.assert_array_equal(matrix, expected)
// Test mapping
After Change
expected[3, 4] = 2
expected[4, 3] = 1
// Check basic Case
matrix = connectivity_matrix(streamlines, label_volume, affine=np.eye(4),
symmetric=False)
npt.assert_array_equal(matrix, expected)
// Test mapping
matrix, mapping = connectivity_matrix(streamlines, label_volume,
affine=np.eye(4),
symmetric=False,
return_mapping=True)
npt.assert_array_equal(matrix, expected)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: nipy/dipy
Commit Name: 2cc153eaef2c01f42175b913d29745faabbf6905
Time: 2019-07-18
Author: skab12@gmail.com
File Name: dipy/tracking/tests/test_utils.py
Class Name:
Method Name: test_connectivity_matrix
Project Name: nipy/dipy
Commit Name: 2cc153eaef2c01f42175b913d29745faabbf6905
Time: 2019-07-18
Author: skab12@gmail.com
File Name: dipy/tracking/tests/test_utils.py
Class Name:
Method Name: test_connectivity_matrix
Project Name: nipy/dipy
Commit Name: 2cc153eaef2c01f42175b913d29745faabbf6905
Time: 2019-07-18
Author: skab12@gmail.com
File Name: dipy/tracking/tests/test_utils.py
Class Name:
Method Name: test_streamline_mapping
Project Name: nipy/dipy
Commit Name: 2cc153eaef2c01f42175b913d29745faabbf6905
Time: 2019-07-18
Author: skab12@gmail.com
File Name: dipy/tracking/tests/test_utils.py
Class Name:
Method Name: test_density_map