moon_illumination¶
-
astroplan.moon_illumination(time, ephemeris=None)[source]¶ Calculate fraction of the moon illuminated.
Parameters: time :
TimeTime of observation
ephemeris : str, optional
Ephemeris to use. If not given, use the one set with
solar_system_ephemeris(which is set to ‘builtin’ by default).Returns: k : float
Fraction of moon illuminated