Skip to content

Commit

Permalink
Merge pull request #164 from ACRF-Image-X-Institute/bwheelz36-patch-1
Browse files Browse the repository at this point in the history
Update DistortionCorrection.py
  • Loading branch information
bwheelz36 authored Sep 8, 2022
2 parents 9c3ab6c + a18970a commit 8d4b796
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mri_distortion_toolkit/DistortionCorrection.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ def _calculate_encoding_indices(self):
if (np.round(self._ImageOrientationPatient) == [0, 1, 0, 0, 0, -1]).all():
xn_dis = self.Gz_encode / (self._PixelSpacing[2])
self.xj = xn_dis * 2 * np.pi
self.xn_dis_pixel = np.reshape(xn_dis - xn_lin, self._image_to_correct.shape)
yn_dis = self.Gy_encode / (self._PixelSpacing[1])
self.yj = yn_dis * 2 * np.pi
elif (np.round(self._ImageOrientationPatient) == [1, 0, 0, 0, 0, -1]).all():
Expand Down

0 comments on commit 8d4b796

Please sign in to comment.