.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "howto/howto_examples/plot_afq_callosal.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_howto_howto_examples_plot_afq_callosal.py: ========================== Callosal bundles using AFQ API ========================== An example using the AFQ API to find callosal bundles using the templates from: http://hdl.handle.net/1773/34926 .. GENERATED FROM PYTHON SOURCE LINES 8-19 .. code-block:: Python import os.path as op import matplotlib.pyplot as plt import nibabel as nib import plotly from AFQ.api.group import GroupAFQ import AFQ.api.bundle_dict as abd from AFQ.definitions.image import RoiImage import AFQ.data.fetch as afd .. GENERATED FROM PYTHON SOURCE LINES 20-25 Get some example data --------------------- Retrieves `Stanford HARDI dataset `_. .. GENERATED FROM PYTHON SOURCE LINES 25-28 .. code-block:: Python afd.organize_stanford_data(clear_previous_afq="track") .. rst-class:: sphx-glr-script-out .. code-block:: none 0%| | 0/5578 [00:00` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_afq_callosal.py ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_