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

code and data for simulation of brain phantom #9

Merged
merged 2 commits into from
Sep 1, 2023
Merged

code and data for simulation of brain phantom #9

merged 2 commits into from
Sep 1, 2023

Conversation

oscarjalnefjord
Copy link
Collaborator

A simple simulation based on a digital brain atlas. To be used until IVIM phantoms can be made with the general DRO that TF 3.1 is working on.

import nibabel as nib
from scipy.ndimage import zoom

regime = 'diffusive'#'ballistic' #
Copy link
Contributor

@etpeterson etpeterson Aug 18, 2023

Choose a reason for hiding this comment

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

Maybe check if the regime is strictly either diffusive or ballistic. Right now a simple misspelling like balistic would actually generate the diffusive phantom.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point. I use predefined string variables now instead. Robust enough?

@etpeterson etpeterson merged commit 584aeda into OSIPI:brain_phantom Sep 1, 2023
12 checks passed
etpeterson added a commit to etpeterson/TF2.4_IVIM-MRI_CodeCollection that referenced this pull request Jul 19, 2024
code and data for simulation of brain phantom
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