From a5839f909f5a3438f53c5a47b636cb656aabcfab Mon Sep 17 00:00:00 2001 From: Noah Biederbeck Date: Wed, 12 Jul 2023 09:04:52 +0200 Subject: [PATCH] The illumination of a moon below the horizon is 0 --- scripts/plot-moon-illumination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/plot-moon-illumination.py b/scripts/plot-moon-illumination.py index 9634297..30e732e 100644 --- a/scripts/plot-moon-illumination.py +++ b/scripts/plot-moon-illumination.py @@ -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()