Astronomy

screenshot of Astronomy

Astronomy Engine: multi-language calculation of Sun, Moon, and planet positions. Predicts lunar phases, eclipses, transits, oppositions, conjunctions, equinoxes, solstices, rise/set times, and other events. Provides vector and angular coordinate transforms among equatorial, ecliptic, horizontal, ...

Overview

Astronomy Engine is a powerful suite of open-source libraries designed for anyone interested in exploring celestial mechanics and astronomy. It offers an extensive range of calculations for celestial bodies, making it an invaluable tool for both amateur astronomers and professional developers. With a consistent API across multiple programming languages and a strong foundation in authoritative models, Astronomy Engine allows users to engage with the wonders of the universe in a scientifically accurate and accessible manner.

The engine stands out due to its commitment to precision and performance, achieving accuracy within ±1 arcminute. Thanks to rigorous testing against leading ephemeris data sources such as NOVAS and JPL Horizons, users can rely on its output for astronomical calculations. Whether you're predicting lunar phases, calculating rise and set times, or simulating the movement of small bodies in the solar system, Astronomy Engine equips you with the right tools to delve deep into the cosmos.

Features

  • Comprehensive Celestial Calculations: Provides precise calculations for the positions of the Sun, Moon, and planets including all significant celestial bodies like Mercury, Venus, Earth, Mars, and Jupiter.

  • Time Flexibility: Allows users to calculate positions for any calendar date and time, extending to millennia before or after the present.

  • Observer-Centric Positioning: Determines horizon-based positions for observers anywhere on Earth, taking into account latitude, longitude, and elevation.

  • Atmospheric Refraction Correction: Optionally adjusts calculations to account for atmospheric refraction, enhancing accuracy for low-horizon observations.

  • Twilight Calculations: Finds civil, nautical, and astronomical twilight times, providing essential information for nighttime observations.

  • Eclipse Predictions: Capable of predicting lunar and solar eclipses, giving astronomers the chance to prepare for these dramatic celestial events.

  • Custom Simulations for Small Bodies: Offers the ability to create custom simulations of user-defined small bodies, such as asteroids and comets, within the Solar System.

  • Multiple Coordinate Conversions: Converts angular and vector coordinates across various orientations including equatorial, ecliptic, and galactic systems for comprehensive analysis.

These features make Astronomy Engine a remarkable resource for anyone passionate about astronomy and programming, enabling users to better understand the complexities of our solar system and beyond.