d938f476feee0efd9045bc8f9bb1fe76b9898fae,doc/examples/reconst_csa.py,,,#,22

Before Change


sphere = get_sphere("symmetric724")

from dipy.viz import fvtk
r = fvtk.ren()

csaodfs = csamodel.fit(data_small).odf(sphere)

After Change



csaodfs = np.clip(csaodfs, 0, np.max(csaodfs, -1)[..., None])
csa_odfs_actor = actor.odf_slicer(csaodfs, sphere=sphere, colormap="jet", scale=0.4)
csa_odfs_actor.display(z=0)

r.add(csa_odfs_actor)
print("Saving illustration as csa_odfs.png")
window.record(r, n_frames=1, out_path="csa_odfs.png", size=(600, 600))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: nipy/dipy
Commit Name: d938f476feee0efd9045bc8f9bb1fe76b9898fae
Time: 2018-01-10
Author: skab12@gmail.com
File Name: doc/examples/reconst_csa.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: a9231b3bbe1d92f78d125c7fec2b0251a717b0d0
Time: 2017-12-04
Author: mauro.zucchelli88@gmail.com
File Name: doc/examples/reconst_forecast.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: d938f476feee0efd9045bc8f9bb1fe76b9898fae
Time: 2018-01-10
Author: skab12@gmail.com
File Name: doc/examples/reconst_dsid.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: d938f476feee0efd9045bc8f9bb1fe76b9898fae
Time: 2018-01-10
Author: skab12@gmail.com
File Name: doc/examples/reconst_shore.py
Class Name:
Method Name: