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="http://asimpleweblog.wordpress.com/2010/07/04/astrometry-in-python-with-pyephem/" rel="nofollow">http://asimpleweblog.wordpress.com/2010/07/04/astrometry-in-python-with-pyephem/</a>
As I understood I need to:
<ol>
<li>create observer</li>
</ol>
<blockquote>
</blockquote>
<ol>
<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>
</ol>
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="http://www.jgiesen.de/astro/astroJS/siderealClock/" rel="nofollow">http://www.jgiesen.de/astro/astroJS/siderealClock/</a>
PS! Or may be some one can reccomend better library for this purposes.
In net I have found only this one tutorial, how to use ephem library: <a href="http://asimpleweblog.wordpress.com/2010/07/04/astrometry-in-python-with-pyephem/" rel="nofollow">http://asimpleweblog.wordpress.com/2010/07/04/astrometry-in-python-with-pyephem/</a>
As I understood I need to:
<ol>
<li>create observer</li>
</ol>
<blockquote>
Code:
telescope = ephem.Observer()
telescope.long = ephem.degrees('10')
telescope.lat = ephem.degrees('60')
telescope.elevation = 200
<ol>
<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>
</ol>
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="http://www.jgiesen.de/astro/astroJS/siderealClock/" rel="nofollow">http://www.jgiesen.de/astro/astroJS/siderealClock/</a>
PS! Or may be some one can reccomend better library for this purposes.