This project demonstrates solar eclipse computations in Python, including:
- Eclipse search over a specified date range
- Besselian elements calculation
- Gamma value computation
- Maximum Eclipse location
- Start and end times of the Eclipse
- Local Circumstances of an Eclipse
- Eclipse path plotting
The project uses Skyfield for astronomical calculations, along with other modules and custom modules for Besselian and eclipse-related computations.
- Python 3.x
- JPL Development Ephemerides (DEXXX) files located in the
ephem/directory
This project supports execution using uv, a fast Python package manager and runner.
To run the main eclipse computation script:
uv run main.pyAccuracy may drift significantly when computing eclipses more than ~±1000 years from the present.
Results have been compared against: https://ytliu.epizy.com/eclipse/solar_general.html