moon_illumination#

astroplan.moon_illumination(time, ephemeris=None)[source]#

Calculate fraction of the moon illuminated.

Parameters:
timeTime

Time of observation

ephemerisstr, optional

Ephemeris to use. If not given, use the one set with solar_system_ephemeris (which is set to ‘builtin’ by default).

Returns:
kfloat

Fraction of moon illuminated