d5be66f320d8e09165ad1f9b44ca5ab2c9586ad2,dipy/workflows/tests/test_viz.py,,test_horizon_flow,#,26
Before Change
clusters_lt=np.inf, clusters_gt=0,
world_coords=True, interactive=False)
//
affine = np.diag([2., 1, 1, 1]).astype("f8")
//
data = 255 * np.random.rand(150, 150, 150)
//
images = [(data, affine)]
After Change
[3, 0.2, 0],
[4, 0.2, 0]], dtype="f8")
affine = np.array([[1., 0., 0., -98.],
[0., 1., 0., -134.],
[0., 0., 1., -72.],
[0., 0., 0., 1.]])
data = 255 * np.random.rand(197, 233, 189)
vox_size = (1., 1., 1.)
streamlines = Streamlines()
streamlines.append(s1)
streamlines.append(s2)
streamlines.append(s3)
header = create_nifti_header(affine, data.shape, vox_size)
sft = StatefulTractogram(streamlines, header, Space.RASMM)
tractograms = [sft]
images = None
horizon(tractograms, images=images, cluster=True, cluster_thr=5,
random_colors=False, length_lt=np.inf, length_gt=0,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 23
Instances
Project Name: nipy/dipy
Commit Name: d5be66f320d8e09165ad1f9b44ca5ab2c9586ad2
Time: 2019-11-30
Author: garyfallidis@gmail.com
File Name: dipy/workflows/tests/test_viz.py
Class Name:
Method Name: test_horizon_flow
Project Name: nipy/dipy
Commit Name: edd701dee2234b6f69d3b994cabf978672e95841
Time: 2019-11-27
Author: garyfallidis@gmail.com
File Name: dipy/viz/tests/test_apps.py
Class Name:
Method Name: test_horizon
Project Name: nipy/dipy
Commit Name: a68785867796cea6990ca7180a2fae269ce6f4ed
Time: 2019-11-27
Author: garyfallidis@gmail.com
File Name: dipy/viz/tests/test_apps.py
Class Name:
Method Name: test_horizon_events