Top "Astronomy" questions

Moon / Lunar Phase Algorithm

Does anyone know an algorithm to either calculate the moon phase or age on a given date or find the …

python c algorithm calendar astronomy
How can I compute sunrise/sunset times?

I like to keep track of sunrise and sunset times. For the past couple of years I've been doing this …

time astronomy
Position of the sun given time of day, latitude and longitude

This question has been asked before a little over three years ago. There was an answer given, however I've found …

r math geometry astronomy azimuth
Interactive Data Language, IDL: Does anybody care?

Anyone use a language called Interactive Data Language, IDL? It is popular with scientists. I think it is a poor …

astronomy idl-programming-language
What are some algorithms that will allow me to simulate planetary physics?

I'm interested in doing a "Solar System" simulator that will allow me to simulate the rotational and gravitational forces of …

algorithm simulation physics astronomy
Calculating dawn and sunset times using PyEphem

Is it possible to calculate Dawn, Dusk, and sunset times using PyEphem? I've used PyEphem to produce day and night …

python astronomy pyephem
Local solar time function from UTC and longitude

I'm wondering if there is a python function/module that calculates the local time after midnight (or local solar time) …

python astronomy
ECEF from Azimuth, Elevation, Range and Observer Lat,Lon,Alt

I'm trying to write a basic python script that will track a given satellite, defined with tle's, from a given …

coordinate-transformation astronomy satellite pyephem
Star B-V color index to apparent RGB color

I'm trying to convert a star's B-V color index to an apparent RGB color. Besides look up tables and color …

colors dart rgb astronomy
Produce a RA vs DEC equatorial coordinates plot with python

I'm trying to generate an equatorial coordinates plot that should look more or less like this one: (The figure is …

python matplotlib astronomy polar-coordinates