PyEphem provides the Python language with routines for computing the location of celestial objects like the sun, moon, and planets, as well as for any asteroids, comets, and earth satellites for which the caller can provide orbital elements. Rise, set, and transit times can be computed for any object, and basic coordinate computations are also supported.
Questions tagged [pyephem]
272 questions
-1
votes
1 answer
PyEphem - illuminated fraction of the Moon calculation
How can I calculate the illuminated fraction of the Moon using Python3 ?
Date = datetime.date.today()

TawnyOwl
- 31
- 1
-2
votes
1 answer
PyEphem: Time mismatch when calculating angle from time of the sun and then time from angle
This script is supposed to get the transit time, get the angle of the transit time, and then get the time when the angle is reached. The two print statements I gave should give equivalent outputs.
import ephem
obs = ephem.Observer()
obs.lat =…

JobHunter69
- 1,706
- 5
- 25
- 49