Skip to content

dipy versus mrtrix CSD results #2959

Discussion options

You must be logged in to vote

As suggested by @skoudoro it was a basis mismatch.

Difference in spherical harmonic bases

The basis used by dipy is the first (legacy) descoteaux07 basis described here, with code here.

The basis used by mrtrix can be found here. It exists in dipy as dipy.reconst.shm.real_sh_tournier with legacy=False.

However, dipy (v1.7.0 at the time of writing) is locked into the legacy descoteaux07 basis:

  • In SphHarmModel, basis function values are sampled from the legacy descoteaux07 basis. This means that when we use dipy to visualize FODs based on spherical harmonic coefficients, it will always assume we were using this basis.
  • In ConstrainedSphericalDeconvModel, the legacy descoteaux07 basis is for…

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
6 replies
@ebrahimebrahim
Comment options

@ebrahimebrahim
Comment options

@ebrahimebrahim
Comment options

@skoudoro
Comment options

@ebrahimebrahim
Comment options

Comment options

You must be logged in to vote
5 replies
@ebrahimebrahim
Comment options

@ebrahimebrahim
Comment options

@arokem
Comment options

@arokem
Comment options

@ebrahimebrahim
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ebrahimebrahim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants