Wednesday, 13 November 2013

star - Conversion from Equatorial Coordinate to Horizon Coordinates

It depends from which celestial coordinates you are converting. I suppose you are working in equatorial coordinates. Then, you can convert as following:



tanA=sinhovercoshsinphiotandeltacosphio

begincasescosasinA=cosdeltasinh cosacosA=cosdeltacoshsinphiosindeltacosphioendcases
sina=sinphiosindelta+cosphiocosdeltacosh



Where A is azimuth, a altitude, alpha right ascension, delta declination, h hour angle and phi0 the observer's latitude.



Source: Wikipedia

No comments:

Post a Comment