Skip to content

Commit

Permalink
Update polarizers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
s0larish authored Nov 3, 2023
1 parent 3c265c1 commit a9761e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solpolpy/polarizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def npol_to_mzp(input_cube):
conv_fact = (np.pi * u.radian) / (180 * u.degree)

if input_cube['angle_1'].meta['OBSRVTRY'] == 'STEREO_B':
offset_angle = -18 * u.degree * conv_fact # STEREOB
offset_angle = -18 # STEREOB

Check warning on line 23 in solpolpy/polarizers.py

View check run for this annotation

Codecov / codecov/patch

solpolpy/polarizers.py#L23

Added line #L23 was not covered by tests
elif input_cube['angle_1'].meta['OBSRVTRY'] == 'STEREO_A':
offset_angle = 45.8 * u.degree * conv_fact # STEREOA
offset_angle = 45.8 # STEREOA

Check warning on line 25 in solpolpy/polarizers.py

View check run for this annotation

Codecov / codecov/patch

solpolpy/polarizers.py#L25

Added line #L25 was not covered by tests
else:
offset_angle = 0

Expand Down

0 comments on commit a9761e2

Please sign in to comment.