# Tractography measurements

**URL:** https://discourse.slicer.org/t/tractography-measurements/7774
**Category:** SlicerDMRI
**Created:** [July 26, 2019, 4:17pm UTC](https://discourse.slicer.org/t/tractography-measurements/7774 "2019-07-26T16:17:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![amymanson](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@amymanson](https://discourse.slicer.org/u/amymanson)
#### Post date: [July 26, 2019, 4:17pm UTC](https://discourse.slicer.org/t/tractography-measurements/7774/1 "2019-07-26T16:17:00Z")

</div>

Hi, I am currently using the SlicerDMRI extension to measure tract lengths in the brain. Is there any way to obtain length measurements in addition to the mean length?  
This is fine, but there is no way that I can see of telling whether most fibres in the selected tract are e.g. short with 1 much longer tract, or if the mean is actually a good average for the fibre lengths.  
Thanks,  
Amy

---

<div class="post-metadata">

### Author: ![zhangfanmark](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhangfanmark/32/4451_2.png) [@zhangfanmark](https://discourse.slicer.org/u/zhangfanmark)
#### Post date: [July 31, 2019, 6:33pm UTC](https://discourse.slicer.org/t/tractography-measurements/7774/2 "2019-07-31T18:33:48Z")

</div>

Hi

Measurement of fiber length has not been provided in any SlicerDMRI modules. But, we have a software package whitematteranalysis, which can output fiber length distribution. Here is the link to the package:

> **[SlicerDMRI/whitematteranalysis](https://github.com/SlicerDMRI/whitematteranalysis)**
>
> White matter tractography clustering and more... Contribute to SlicerDMRI/whitematteranalysis development by creating an account on GitHub.

After installation, you can use wm\_quality\_control\_tractography.py to do a QC of the input tractography data. The output includes a pdf file that describes the distribution of fiber length.

Regards,  
Fan

---

<div class="post-metadata">

### Author: ![amymanson](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@amymanson](https://discourse.slicer.org/u/amymanson)
#### Post date: [September 12, 2019, 10:16am UTC](https://discourse.slicer.org/t/tractography-measurements/7774/3 "2019-09-12T10:16:26Z")

</div>

Thanks for your suggestion. I have installed the whitematteranalysis package but am not sure how to run it?  
Any help would be much appreciated

---

<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: [September 12, 2019, 2:33pm UTC](https://discourse.slicer.org/t/tractography-measurements/7774/4 "2019-09-12T14:33:50Z")

</div>

There is some information here about running it:  
[https://github.com/SlicerDMRI/whitematteranalysis/wiki/2c](https://github.com/SlicerDMRI/whitematteranalysis/wiki/2c))-Running-the-Clustering-Pipeline-to-Cluster-a-Single-Subject-from-the-Atlas

I know Fan has updated documentation that needs to be made more prominent online and hopefully he will also chime in here.
