Skip to content

Commit

Permalink
The illumination of a moon below the horizon is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
nbiederbeck committed Jul 12, 2023
1 parent 4cb3416 commit a5839f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/plot-moon-illumination.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def main():

mask_altitude = moon.alt.to_value(u.deg) < 0
moon_light = moon_illumination(time)
moon_light[mask_altitude] = 1
moon_light[mask_altitude] = 0

fig, ax = plt.subplots()

Expand Down

0 comments on commit a5839f9

Please sign in to comment.