Skip to content

Commit

Permalink
phase and magnitude was switched
Browse files Browse the repository at this point in the history
  • Loading branch information
stebo85 committed Jun 11, 2021
1 parent a794943 commit 78189ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_1_fixGEphaseFFTshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
mag_img = nib.Nifti1Image(mag_data, img.affine, img.header)

print("writing corrected phase and magnitude data")
nib.save(phase_img, filename)
nib.save(mag_img, filename.replace('_magnitude','_phase'))
nib.save(mag_img, filename)
nib.save(phase_img, filename.replace('_magnitude','_phase'))

0 comments on commit 78189ae

Please sign in to comment.