Tract lengths from MRtrix3

38 views
Skip to first unread message

Mahta Mousavi

unread,
Aug 16, 2021, 11:46:24 AM8/16/21
to TVB Users

Hello everyone,

I've recently created connectomes using mrtrix3 and estimated the connectome weights and tract lengths using lines 2571-2581 here: https://github.com/BrainModes/tvb-pipeline-sc/blob/master/mrtrix3_connectome.py

However, the tract lengths matrix in connectivity_68.zip has many zeros in it while what I estimated using mrtix3 for each subjects' data I'm working with does not. I wonder if you could please help me figure out why that could be the case?

Thank you very much for your time and help.

Best Regards,
Mahta

WOODMAN Michael

unread,
Aug 19, 2021, 3:42:13 AM8/19/21
to tvb-...@googlegroups.com

hi


Likely the 68 matrix has many zeros in the weights matrix, and if the weight is zero, the tract length can be set to zero as well, i.e. if there's no tract, there's no length either.   In the case of MRtrix3 you probably have tracks between among all pairs of regions so you get non zero tract lengths for all pairs of regions.


cheers,

Marmaduke


From: tvb-...@googlegroups.com <tvb-...@googlegroups.com> on behalf of Mahta Mousavi <mahta....@gmail.com>
Sent: Monday, August 16, 2021 5:46:24 PM
To: TVB Users
Subject: [TVB] Tract lengths from MRtrix3
 
--
You received this message because you are subscribed to the Google Groups "TVB Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tvb-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tvb-users/af1cd7d0-3589-4ba2-af4b-73b69a88d376n%40googlegroups.com.

Mahta Mousavi

unread,
Aug 20, 2021, 9:03:53 AM8/20/21
to TVB Users
Hi Marmaduke,

Thanks very much for your response. I see, so in a way, the `effective tract lengths' are the ones with non-zero connectivity weights. My connectivity matrix is as sparse as the connectivity 68 weights. Probably the tract-lengths for connectivity68 were pruned to reflect only lengths between the regions with non-zero weights. I was concerned my code is incorrect since the constructed tract lengths matrix isn't as sparse, but there's not a problem then! 

Thanks very much for your help.

Best Regards,
Mahta
Reply all
Reply to author
Forward
0 new messages