A library that computes the ephemerides.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/usr/bin/env python3
-
- from enum import Enum, auto
-
-
- class MoonPhaseType(Enum):
- """An enumeration of moon phases."""
-
- NEW_MOON = 1
- WAXING_CRESCENT = 2
- FIRST_QUARTER = 3
- WAXING_GIBBOUS = 4
- FULL_MOON = 5
- WANING_GIBBOUS = 6
- LAST_QUARTER = 7
- WANING_CRESCENT = 8
-
-
- class EventType(Enum):
- """An enumeration for the supported event types."""
-
- OPPOSITION = 1
- CONJUNCTION = 2
- OCCULTATION = 3
- MAXIMAL_ELONGATION = 4
- MOON_PERIGEE = 5
- MOON_APOGEE = 6
|