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

Gradient nonlinearity correction step #7

Merged
merged 41 commits into from
Mar 22, 2023
Merged

Conversation

praitayini
Copy link
Collaborator

Performs gradient nonlinearity correction when turned on (--correct_grad "on") given the gradient coil tensor.

Main features added:
APPS/gradtensor - All the script for gradient nonlinearity correction. First, corrected voxel-wise bvec and bvals are computed. Next, an approximation that reconstructs the corrected diffusion weighted image
src/CODE/vis.py - Visualization for gradient nonlinearity correction

Added all the required functions in src/CODE/dtiQA_v7/ and package dependencies in venv/pip_install_gradtensor.txt

Copy link

@KarthikMasi KarthikMasi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I went over the changes and none seem to be problematic. Have you had any tests run on this?

@praitayini
Copy link
Collaborator Author

praitayini commented Mar 22, 2023

@KarthikMasi Yes, I ran the following test cases:

  1. everything turned on without synb0
  2. everything turned off without synb0
  3. everything turned on with synb0
  4. everything turned on with rpe and without synb0
  5. everything turned on with rpe and synb0

@praitayini praitayini merged commit 6e6a22a into MASILab:master Mar 22, 2023
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