Calculation star position in the sky, PyEphem


Staff member
I have difficulties with finding current coordinates (RA, DEC) for star in sky.
In net I have found only this one tutorial, how to use ephem library: <a href="" rel="nofollow"></a>

As I understood I need to:

<li>create observer</li>

telescope = ephem.Observer()
telescope.long =  ephem.degrees('10') = ephem.degrees('60')
telescope.elevation = 200

<li>Create a body Object star
here is trouble, I have only (RA,DEC) coordinates for star</li>
<li>Calculate position by .calculate(now())</li>
<li>by new coordinates find altitude </li>

One more question about accuracy of this library, how accurate it is? I have compared juliandate and sidestreal time between this program and kstars, looks like quite similar.

and this <a href="" rel="nofollow"></a>

PS! Or may be some one can reccomend better library for this purposes.