mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-03-31 21:03:42 -04:00
Tonight as I was walking outside, I saw a fairly bright star about half a degree away from the edge of the Moon. I wondered what it was, so I decided to write a quick program to find out. This Python demo program scans the HYG Database (https://github.com/astronexus/HYG-Database) to find which bright stars are within a small angular distance of the Moon, as seen at a given time, latitude, and longitude. It turns out the star I saw was Nunki (Sigma Sagittarii). It was handy to do vector subtraction to implement this program, and it was trivial to do in the Python code's Vector class, so I went ahead and added that.
16 lines
221 B
Plaintext
16 lines
221 B
Plaintext
camera.txt
|
|
constellation.txt
|
|
moonphase.txt
|
|
positions.txt
|
|
riseset.txt
|
|
seasons.txt
|
|
culminate.txt
|
|
horizon.txt
|
|
lunar_eclipse.txt
|
|
lunar_angles.txt
|
|
jupiter_moons.txt
|
|
galactic.txt
|
|
triangulate.txt
|
|
gravity.txt
|
|
stars_near_moon.txt
|