Skip to content

Commit

Permalink
Reverted example to its original state
Browse files Browse the repository at this point in the history
  • Loading branch information
Garyfallidis committed Nov 3, 2016
1 parent 599a8cc commit b817e3f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions doc/examples/reconst_csd.py
Expand Up @@ -186,13 +186,10 @@
Here we visualize only a 30x30 region.
"""

# fodf_spheres = fvtk.sphere_funcs(csd_odf, sphere, scale=1.3, norm=False)
from dipy.viz.actor import odf_slicer
fodf_spheres = odf_slicer(csd_odf, sphere=sphere, scale=1.3, norm=False,
colormap='jet', global_cm=False)
fodf_spheres = fvtk.sphere_funcs(csd_odf, sphere, scale=1.3, norm=False)

fvtk.add(ren, fodf_spheres)

fvtk.show(ren)
print('Saving illustration as csd_odfs.png')
fvtk.record(ren, out_path='csd_odfs.png', size=(600, 600))

Expand Down

0 comments on commit b817e3f

Please sign in to comment.