Skip to content

Moon

The satkit.moon module provides functions for computing the moon's position, illumination fraction, and phase. The position is Vallado (2013) Algorithm 31 (§5.2.3, accurate to ~0.3° in ecliptic longitude); for higher precision use jplephem.

moon

Astrodynamic calculations related to the moon

moonphase

Enum representing moon phases

NewMoon class-attribute

New Moon (0 - 22.5)

WaxingCrescent class-attribute

Waxing Crescent (22.5 - 67.5)

FirstQuarter class-attribute

First Quarter (67.5 - 112.5)

WaxingGibbous class-attribute

Waxing Gibbous (112.5 - 157.5)

FullMoon class-attribute

Full Moon (157.5 - 202.5)

WaningGibbous class-attribute

Waning Gibbous (202.5 - 247.5)

LastQuarter class-attribute

Last Quarter (247.5 - 292.5)

WaningCrescent class-attribute

Waning Crescent (292.5 - 337.5)