Skip to content

Commit

Permalink
Do not wrap PA offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Sep 5, 2023
1 parent 1273a45 commit a47571f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lvmguider/guider.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ def calculate_offset(
if numpy.isnan(solution.pa):
offset_pa = numpy.nan
else:
pointing_pa = (solution.pa - 180) % 360
offset_pa = (field_pa - pointing_pa) % 360
pointing_pa = solution.pa - 180
offset_pa = field_pa - pointing_pa

return ((ra_arcsec, dec_arcsec), (saz_diff_d, sel_diff_d), offset_pa)

Expand Down

0 comments on commit a47571f

Please sign in to comment.