Skip to content

Commit

Permalink
Change the name of the ivim_image.nii.gz to ivim_simulation.nii.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
Unique-Usman committed Sep 26, 2024
1 parent 7b2f0b8 commit ee2eb99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Docker/generate_signal_docker_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def save_bval_bvec(filename, values):
signals = gd.ivim_signal(D_in, Dp_in, f_in, S0, bvals_reshaped)

# Save the generated image as a NIfTI file
save_nifti_file(signals, "ivim_image.nii.gz")
save_nifti_file(signals, "ivim_simulation.nii.gz")
# Save the bval in a file
save_bval_bvec("ivim_image.bval", [0, 50, 100, 500, 1000])
save_bval_bvec("ivim_simulation.bval", [0, 50, 100, 500, 1000])
# Save the bvec value
save_bval_bvec("ivim_signal.bvec", [[1, 0, 0], [0, 1, 0], [0, 0, 1]])
save_bval_bvec("ivim_simulation.bvec", [[1, 0, 0], [0, 1, 0], [0, 0, 1]])

0 comments on commit ee2eb99

Please sign in to comment.