Calculating Sum of Streamline weights

Rob and the Team
Apologies if this is a silly question - but what’s the best way to calculate the sum of streamline weights for a pathway? I’ve generated whole brain tractograms, applied SIFT2, and extracted a pathway I’m interested in with tckedit and appropriate ROIs. This leaves me with the tck file with the pathway of interested, and the txt file with streamline weights for the pathway. Do I need to just sum the weights in the text file?

Hello @DanLumsden,

This thread might be helpful.

Short answer is yes :slight_smile: if you are interested in the connection density for that track.

If you wish to compare this metric across individuals, you should scale the sum of streamline weights by the proportionality coefficient “mu” (derived using option -out_mu in tcksift2).