mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-01-17 03:50:11 -05:00
## Functions
class ApsisKind
class BadVectorError
class Body
class Direction
class EarthNotAllowedError
class Error
class IntEnum
class InternalError
class InvalidBodyError
class NoConvergeError
class Observer
Represents the geographic location of an observer on the surface of the Earth.
class Refraction
class Time
Represents a date and time used for performing astronomy calculations.
| Type | Parameter | Description |
|---|---|---|
float |
ut |
UT1/UTC number of days since noon on January 1, 2000. See the ut attribute of this class for more details. |
BodyCode(name)
Finds the Body enumeration value, given the name of a body.
| Type | Parameter | Description |
|---|---|---|
str |
name |
The common English name of a supported celestial body. |
GeoMoon(time)
Calculates the geocentric position of the Moon at a given time.
| Type | Parameter | Description |
|---|---|---|
Time |
time |
The date and time for which to calculate the Moon's position. |