# \-metric meanlength

**URL:** <https://community.mrtrix.org/t/metric-meanlength/384>\
**Category:** Uncategorized\
**Created:** [August 10, 2016, 7:32am UTC](https://community.mrtrix.org/t/metric-meanlength/384 "2016-08-10T07:32:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maedoc](https://community.mrtrix.org/user_avatar/community.mrtrix.org/maedoc/32/53_2.png) [@maedoc](https://community.mrtrix.org/u/maedoc)\
**Post date:** [August 10, 2016, 7:32am UTC](https://community.mrtrix.org/t/metric-meanlength/384/1 "2016-08-10T07:32:56Z")

</div>

After updating to a recent mrtrix3 commit, I noticed that `tck2connectome` has different set of options. Notably, instead of `-metric`, there are options for weighting the edge in various ways. From the `-help`, I didn’t see an obvious choice for obtaining what the older versions would do for `-metric meanlength`.

Did I miss something?

In any case, I can still dump the assignments with `tck2connectome` and individual track lengths with `tckstats` and then construct the mean length connectome myself.

---

<div class="post-metadata">

**Author:** ![rsmith](https://community.mrtrix.org/user_avatar/community.mrtrix.org/rsmith/32/2672_2.png) [@rsmith](https://community.mrtrix.org/u/rsmith)\
**Post date:** [August 10, 2016, 8:11am UTC](https://community.mrtrix.org/t/metric-meanlength/384/2 "2016-08-10T08:11:50Z")

</div>

Mmm, perhaps I should update the [FAQ entry](http://mrtrix.readthedocs.io/en/0.3.15/tutorials/FAQ.html#tck2connectome-no-longer-has-the-contrast-mean-scalar-option) to give instructions on the old `meanlength` metric as well…

Similar question along with answer posted [here](http://community.mrtrix.org/t/streamline-length/369).

Sorry for the confusion; but this approach disentangles what mathematical operation is being performed where, and so opens up a few more possibilities.  
Rob

---

<div class="post-metadata">

**Author:** ![maedoc](https://community.mrtrix.org/user_avatar/community.mrtrix.org/maedoc/32/53_2.png) [@maedoc](https://community.mrtrix.org/u/maedoc)\
**Post date:** [August 10, 2016, 8:18am UTC](https://community.mrtrix.org/t/metric-meanlength/384/3 "2016-08-10T08:18:27Z")

</div>

Ah, I suspected this was the case but didn’t grok it… thanks!
