c2cfaf314a381e520883eba2d965cd93fd5572e0,doc/examples/tracking_bootstrap_peaks.py,,,#,21

Before Change


streamlines = Streamlines(peak_streamline_generator)

renderer.clear()
renderer.add(actor.line(streamlines, cmap.line_colors(streamlines)))
window.record(renderer, out_path="closest_peak_dg_CSD.png", size=(600, 600))

After Change



save_trk("tractogram_bootstrap_dg.trk", streamlines, affine, labels.shape)

if have_fury:
    r = window.Renderer()
    r.add(actor.line(streamlines, colormap.line_colors(streamlines)))
    window.record(r, out_path="tractogram_bootstrap_dg.png", size=(800, 800))
    if interactive:
        window.show(r)


.. figure:: tractogram_bootstrap_dg.png
   :align: center
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: nipy/dipy
Commit Name: c2cfaf314a381e520883eba2d965cd93fd5572e0
Time: 2019-07-21
Author: girard.gabriel@gmail.com
File Name: doc/examples/tracking_bootstrap_peaks.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: aac7b54c8d6957786a9aa70e896cef10fe0ab9fe
Time: 2019-07-21
Author: girard.gabriel@gmail.com
File Name: doc/examples/tracking_pft.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: 27d10570af678e1059920c4ae895860dda11433c
Time: 2017-06-26
Author: garyfallidis@gmail.com
File Name: doc/examples/tracking_quick_start.py
Class Name:
Method Name: