RA and DEC to Degrees
Posted: 31.01.2005, 02:58
IN my attempt to understand RA and DEC coordinates and the strange way they are plotted according to the earth's location has made it difficult to do anything more than eyeball objects and plot them as they appear...Now knowing how many stars there are and how many galaxies and nebulae...This will take 100 trillion years to complete....not that I plan to add everything in...
OK what I want to know is the math behind converting RA and DEC into degrees that I can use to plot them in my program properly...or close enough as it may be...I have supplied some simple diagrams showing how I have set up my points of reference...
http://celestialvisions.net/pics/milkyc1.jpg
http://celestialvisions.net/pics/milkyc2.jpg
The commands you see below is what I use in my scripting interface to plot these coordinates...As you can see its very simple and straight forward and works rather well...But of course is tedious when trying to match existiong data by eye alone...What I want is a kind of conversion system based on these figues...if at all possible...
OK what I want to know is the math behind converting RA and DEC into degrees that I can use to plot them in my program properly...or close enough as it may be...I have supplied some simple diagrams showing how I have set up my points of reference...
http://celestialvisions.net/pics/milkyc1.jpg
http://celestialvisions.net/pics/milkyc2.jpg
The commands you see below is what I use in my scripting interface to plot these coordinates...As you can see its very simple and straight forward and works rather well...But of course is tedious when trying to match existiong data by eye alone...What I want is a kind of conversion system based on these figues...if at all possible...