-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to use full 'data' dir from head phantom
- Loading branch information
1 parent
3130c91
commit 77c414f
Showing
6 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
dist/ | ||
head-phantom-maps/ | ||
data/ | ||
qsm_forward.egg-info/ | ||
*.nii* | ||
*__pycache__* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ | |
The simulations are carried out with various reconstruction parameters | ||
(which include different voxel sizes), and the results are saved in the "bids" directory. | ||
The tissue parameters are loaded from the directory "../head-phantom-maps". | ||
The tissue parameters are loaded from the directory "../data". The data directory can | ||
be downloaded from https://doi.org/10.34973/m20r-jt17. | ||
Author: Ashley Stewart ([email protected]) | ||
""" | ||
|
@@ -16,7 +17,7 @@ | |
import numpy as np | ||
|
||
if __name__ == "__main__": | ||
tissue_params = qsm_forward.TissueParams("~/head-phantom-maps", chi="ChiModelMIX.nii.gz") | ||
tissue_params = qsm_forward.TissueParams(root_dir="~/data") | ||
|
||
recon_params_all = [ | ||
qsm_forward.ReconParams(voxel_size=voxel_size, TEs=TEs, TR=TR, flip_angle=flip_angle, suffix=suffix, export_phase=export_phase) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters