mattcieslak / MITTENS

A Python library for Analytic Tractography
BSD 2-Clause "Simplified" License
9 stars 7 forks source link

Transitional probability computation #2

Closed fullbat closed 6 years ago

fullbat commented 6 years ago

Hi, in the "get_transition_analysis_matrices" method inside utils. py , shouldn't the odf_vertices variable be transposed to compute the pairwise distances? The edges probabilities in the graph doesn't match the dsi-studio output and in general the diffusion data.

Thank you

mattcieslak commented 6 years ago

Hi,

You're right, if look at where that function is called it is using the transposed odf_vertices variable. Here is where that currently happens: https://github.com/mattcieslak/MITTENS/blob/7721fbe4325964ce2ca3ce7cf40e919e29133816/mittens/utils.py#L129.

What do you mean by the second point?