# Python codes for diffusion module

**URL:** <https://discourse.slicer.org/t/python-codes-for-diffusion-module/7546>\
**Category:** Development\
**Created:** [July 12, 2019, 8:20am UTC](https://discourse.slicer.org/t/python-codes-for-diffusion-module/7546 "2019-07-12T08:20:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fpsiddiqui91](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Post date:** [July 12, 2019, 8:20am UTC](https://discourse.slicer.org/t/python-codes-for-diffusion-module/7546/1 "2019-07-12T08:20:40Z")

</div>

Hello Developers,

Firstly, Thank you for being such a helpful community.  
I have just started working on Slicer I have had few options for the platform but so far slicer works well for me.

I can find the codes for Slicer Modules but I really could not find the python source codes for Diffusion Modules. Are they available? I actually want to see the implementation.

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![ljod](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ljod/32/652_2.png) [@ljod](https://discourse.slicer.org/u/ljod)\
**Post date:** [July 12, 2019, 9:16am UTC](https://discourse.slicer.org/t/python-codes-for-diffusion-module/7546/2 "2019-07-12T09:16:46Z")

</div>

You can see all of the SlicerDMRI extension source code here:

> **[SlicerDMRI/SlicerDMRI](https://github.com/SlicerDMRI/SlicerDMRI)**
>
> Diffusion MRI analysis and visualization in 3D Slicer open source medical imaging platform. - SlicerDMRI/SlicerDMRI

---

<div class="post-metadata">

**Author:** ![fpsiddiqui91](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Post date:** [July 12, 2019, 9:24am UTC](https://discourse.slicer.org/t/python-codes-for-diffusion-module/7546/3 "2019-07-12T09:24:12Z")

</div>

Thank you for your response. I have checked this repository. There are some source codes in c++ but unfortunately I could not find any Pyhton codes of the modules.  
Specifically for interactive Tractography seeding I could not even find C++ source code.

thank you so much for your response.

---

<div class="post-metadata">

**Author:** ![ljod](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ljod/32/652_2.png) [@ljod](https://discourse.slicer.org/u/ljod)\
**Post date:** [July 12, 2019, 9:39am UTC](https://discourse.slicer.org/t/python-codes-for-diffusion-module/7546/4 "2019-07-12T09:39:04Z")

</div>

All of the code is there. You just need to look around a bit. For example here’s interactive seeding.

> **[SlicerDMRI/SlicerDMRI](https://github.com/SlicerDMRI/SlicerDMRI/tree/master/Modules/Loadable/InteractiveSeeding)**
>
> Diffusion MRI analysis and visualization in 3D Slicer open source medical imaging platform. - SlicerDMRI/SlicerDMRI

---

<div class="post-metadata">

**Author:** ![fpsiddiqui91](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Post date:** [July 12, 2019, 10:53am UTC](https://discourse.slicer.org/t/python-codes-for-diffusion-module/7546/5 "2019-07-12T10:53:09Z")

</div>

Sorry for this question, Thank you so much for your response.
