demianw / tract_querier

Implementation of the White Matter Query Language and associated tools for dMRI white matter tract extraction and analysis
Other
27 stars 27 forks source link

BUG: RD incorrectly computed with axial_diffusivity #27

Closed hjmjohnson closed 8 years ago

hjmjohnson commented 8 years ago

I just looked at the code used to make these measurements:

https://github.com/demianw/tract_querier/blob/tract_math_refactor/tract_querier/tract_math/tensor_operations.py#L131

OK   ax_by_point[index] = scalar_measures.axial_diffusivity(eigenvals)
BUG  rd_by_point[index] = scalar_measures.axial_diffusivity(eigenvals)
                                          ^^^^^^^^^^^^^^^^^
OK   ga_by_point[index] = scalar_measures.geodesic_anisotropy(eigenvals)