Skip to content

Commit

Permalink
Fix PCU check in KAI instruments
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimat committed Jul 27, 2024
1 parent fb50d1c commit 84b639b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kai/instruments.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def get_position_angle(self, hdr):

#if in PCU mode, read the PCU rotation angle instead
if 'PCUZ' in hdr.keys():
if hdr['PCUZ'] > 20:
if float(hdr['PCUZ']) > 20.0:
pcu_angle = float(hdr['PCUR'])
pinhole_angle = 65.703 #the angle at which the pihole mask is horizontal.
# rotator_angle = hdr['ROTPPOSN']
Expand Down

0 comments on commit 84b639b

Please sign in to comment.