Skip to content

Commit

Permalink
Models fixed previous commit
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola VIGANÒ <[email protected]>
  • Loading branch information
Obi-Wan committed May 29, 2024
1 parent 2fb58bc commit 1bf0e2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions corrct/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ def set_detector_tilt(
self.det_u_xyz = rotations.apply(self.det_u_xyz)
self.det_v_xyz = rotations.apply(self.det_v_xyz)

self.det_pos_xyz = rotations.apply(self.det_pos_xyz)

def rotate(self, angles_w_rad: ArrayLike, patch_astra_2d: bool = False) -> "ProjectionGeometry":
"""
Rotate the geometry by the given angle(s).
Expand Down

0 comments on commit 1bf0e2d

Please sign in to comment.