Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] Auto detect B-vector issues #1152

Open
36000 opened this issue Aug 15, 2024 · 1 comment
Open

[ENH] Auto detect B-vector issues #1152

36000 opened this issue Aug 15, 2024 · 1 comment

Comments

@36000
Copy link
Collaborator

36000 commented Aug 15, 2024

If the bvec file is defined wrong, and some of the bvec's seem to be pointing in the opposite direction, we should throw an error or warning then flip the bvecs. This could be done by looking at regions where there is no crossing fibers and the angle of the predominant signal should be clear. There may be a simpler way to test this.

@arokem
Copy link
Collaborator

arokem commented Aug 15, 2024

My inclination is that this is something that needs to be done well before pyAFQ, as part of the preprocessing. For example, I believe that qsiprep does a check based on the q form (see this table).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants