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

New command: dirrotate #2943

Merged
merged 5 commits into from
Sep 10, 2024
Merged

New command: dirrotate #2943

merged 5 commits into from
Sep 10, 2024

Conversation

Lestropie
Copy link
Member

@Lestropie Lestropie commented Jul 17, 2024

Closes #2749.

Have had a lot of issues locally with getting DWI protocols to execute reliably without yielding scanner hardware complaints or outright termination. One of many contributing factors was the presence of volumes for which the direction of diffusion sensitisation aligns very closely with one of the scanner physical axes. This maximises power amplifier & cooling load, and risks exceeding peak amplitude capability once gradient pre-emphasis is added.

This command finds (via brute force) an axis & angle of rotation for which its application results in the minimum of maximum cosines across the direction set. By integrating this into my scheme generation script, I was able to reduce the maximal requested gradient amplitude from 0.995 to 0.980. There is zero consequence to other aspects of the scheme such as nearest neighbour angles and SH transform condition number.


  • Add a test to prove successful execution / reduction of peak amplitude / preservation of direction scheme properties

@Lestropie Lestropie self-assigned this Jul 17, 2024
github-actions[bot]

This comment was marked as outdated.

- For many dir* commands, rename -permutations to -number, since in some cases the operation being performed is not strictly permutation.
- dirrotate: Resolve some recommendations from clang-tidy.
- dirrotate: Make use of MutexProtected<> class.
github-actions[bot]

This comment was marked as outdated.

@Lestropie Lestropie merged commit f30ab69 into dev Sep 10, 2024
6 checks passed
@Lestropie Lestropie deleted the dirrotate branch September 10, 2024 13:55
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

Successfully merging this pull request may close these issues.

2 participants