Skip to content

Commit

Permalink
i think this is right
Browse files Browse the repository at this point in the history
  • Loading branch information
smribet committed Sep 28, 2024
1 parent ae83290 commit 242d35f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py4DSTEM/tomography/tomography.py
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,8 @@ def _forward(
device = self._device
obj = copy_to_device(self._object[x_index], device)

tilt = xp.deg2rad(tilt_deg)
#TODO check sign
tilt = -xp.deg2rad(tilt_deg)

# solve for real space coordinates
line_z = xp.linspace(0, 1, num_points) * (s[2] - 1)
Expand Down

0 comments on commit 242d35f

Please sign in to comment.