mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-01-01 20:20:15 -05:00
The demo program ecliptic_of_date.py shows how to calculate the true ecliptic of date (ECT) angular coordinates of the Sun, Moon, and planets for an observer somewhere on the Earth. It calculates the equatorial of date (EQD) coordinates, then uses a rotation matrix to convert the vector to ECT, then converts the vector to spherical coordinates: latitude, longitude, and distance.
1.6 KiB
Executable File
1.6 KiB
Executable File