mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-04-25 00:47:08 -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.